Step 2: Create a new project
To create a new project, do the following:
-
Choose File > New File or Project. When you create a new project, Qt Creator looks like the figure below.
-
Select Qt Gui Application and click Choose.
-
Name your project HelloWorld and set the project path where you want to store the project files. For example, this could be C:\QtWork. Click Next to continue.
-
Select the required targets. Since we use only Qt Simulator, we choose Qt Simulator - Simulator Qt for MinGW 4.4 and uncheck the rest of the options, if they are checked. Click Next.
-
Specify the basic information about the classes for which we want to generate skeleton source code files. Change the base class to QWidget and accept other default values. Click Next.
-
To create the project, click Finish.