Hello World using the QtGui library
One of Qt's strengths is its rich collection of GUI elements that you can use to create windowed applications. Making a GUI application is similar in principle to making a console application; instead of choosing Qt Console Application, select Qt Widgets Application from the New dialog presented when you choose New File or Project. Try it now:
- First, close the current file and project by clicking on Close All Projects and Editors from the File menu.
- Next, click on New File or Project… again and click on Qt Widgets Application from the first step of the wizard.
- Walk through the wizard again, naming your project
- Then, select the default kit. The New project wizard will prompt you for the name of the ...