[Qt-interest] Using QTestLib with qt-eclipse

RZ rz at univie.ac.at
Mon Jul 27 19:37:05 CEST 2009


> In my main application, I have a function like this:
> 
> int runUnitTests (int argc, char *argv[])
> {
> QCoreApplication app(argc, argv);
> Tests tc;
> return QTest::qExec (&tc, argc, argv);
> }
> 
which ends up having the test code in the release appplication

which at least i don't like ...



More information about the Qt-interest-old mailing list