'Qt UI class (Clion)

I've been studying c++, but only for console application.

I'm trying to introduce myself in GUI applications with c++, since I'm working with CLion, I've noticed a Qt UI class, but I don't know how to use it.

Anyone know how to use this class, for create GUI apps (create events,...,). I don't know if it's mandatory to install some extensions or not.

I'm a little bit lost in this area, so if anyone could help me, I would be grateful to you.



Solution 1:[1]

Well, maybe the Qt Creator IDE can be of help since the design of UI can be just dragging can editing so it is very friendly to starters. Of course, you can edit the code Qt Creator generates.

As a matter of fact, I started working on Gt UI by dragging the components and got amazed at the 'talent' of me creating a simple GUI app in a minute!

Below is an example UI interface of Qt Creator. Have fun with Qt!

(Sorry I do not have enough reputation to post image, just follow the link) https://img-blog.csdnimg.cn/20201222124118274.jpg

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Teddy van Jerry