- Game Programming using Qt 5 Beginner's Guide
- Pavel Strakhov Witold Wysota Lorenz Haas
- 200字
- 2021-08-27 18:30:53
Time for action – Running the Affine Transformations project
Let's try building and running the project to check whether the building environment is configured properly. To build the project, click on the hammer icon (Build) at the bottom of the left panel. At the right of the bottom panel, a grey progress bar will appear to indicate the build progress. When the build finishes, the progress bar turns green if the build was successful or red otherwise. After the application was built, click on the green triangle icon to run the project.
Qt Creator can automatically save all files and build the project before running it, so you can just hit the Run ( Ctrl + R) or Start Debugging ( F5) button after making changes to the project. To verify that this feature is enabled, click on Tools and Options in the main menu, go to the Build & Run section, go to the General tab, and check that the Save all files before build, Always build project before deploying it, and Always deploy project before running it options are checked.
If everything works, after some time, the application should be launched, as shown in the next screenshot: