Answer the question
In order to leave comments, you need to log in
How to compile and run all tests in qt?
There is a tests folder, it contains several files for tests of different modules
at the end of each file there is something like that
QTEST_MAIN(TestClass1)
#include "testclass1.moc
Answer the question
In order to leave comments, you need to log in
Put all tests in separate folder, CONFIG += testcase in each pro file, make check to run tests
example from qtc
Put all the tests in a separate folder and walk through them with a project that runs a batch file that walks through all the executable files in the folder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question