Qt and Qt Quick tests are built into Qt Creator, so you don't need to install any third-party components into your project. Learn how to create a Qt or Qt Quick test by following the steps given here:
- Create a new project by going to File | New File or Project.
- Select Auto Test Project under the Other Project category.
- In the Project and Test Information dialog, pick either Qt Test or Qt Quick Test for the Test framework option.
- There are two additional options under Qt Test, which are GUI Application and Requires QApplication. You can check these two options if you're building a GUI application.
- After that, fill in the Test case name—anything will do.
- Select your Build system. Leave it as qmake if you are ...