> 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 ...