Subproject "Qt Unit Test" missing
-
Hello, I just started learning Qt and got me a beginners book but now I am already stuck in the 2nd chapter. the first chapters "hello wolrd" I managed.
now the book shows how to create a Project out of subprojects, one of them is a Qt Unit Test. It reads:
- In the Projects pane, right-click on the top-level folder and select New
Subproject…. - Projects > Other Project > Qt Unit Test.
But when I do so, there is no Qt Unit Test in Other Projects, only an "Auto Test Project", but that does not work.
The Author uses Qt 5.10 and I use Qt 5.11.
Maybe I my Installation has issues? How can I add Qt Unit Test to my installation? I run the maintenance tool, but could not find anything.I made this Picture, if I did not make myself clear: the above picture is from the internet, the one below is my screenshot.
Any help would be greatly appreciated!
Max
- In the Projects pane, right-click on the top-level folder and select New
-
Hi and welcome to devnet,
What version of Qt Creator are you using ?
-
Hello SGaist and thank you for your reply!
I have Qt 5.11.1 and Qt Creator 4.7.0 (Community) on Windows 10.
I found a template folder, maybe the "Qt Unit Test" template is not installed?
-
From the looks of it, it has become the Auto Test Project.
-
Hello SGaist and thank you for your time!
I think you are right, I now installed it on Linux
and it is missing there as well.I got round my problem by copying the sample files
from the book. -
same problem with me . I am using Qt 5.12 and Qt creator 4.8
-
same problem with me . I am using Qt 5.12 and Qt creator 4.8
@anonymous1234 just use the "Auto Test Project" wizard.
-
Both are same? guide me please!! . I am trying to learn from same book.
-
Both are same? guide me please!! . I am trying to learn from same book.
@anonymous1234 "Qt Unit Test" is integrated in the "Auto Test Project" now.
If you follow the wizard, you can choose between different types, one of them is "Qt Test":
I hope that helps.
Regards