Qt/Lesson 1

Hello, World!
This is the Hello, World! program. It just displays a window:

To compile this, read ../Development Environment/ or just use.

Using Qt designer
This lesson will get you started using Qt designer for making your own simple application.

Open Qt Designer and select to make a new dialog without buttons. Drag a label on to it and set its title property to "Hello, World!", then go to Form > Preview to see your new dialog. Now, onto writing some code. We'll have to subclass the QDialog class to make the application run standalone on most modern operating systems.

Qt/Primeiro programa Programowanie_C%2B%2B_Qt4_w_systemie_Gnu-Linux/Helo_World_w_QT4