Closed VDVsx closed 10 years ago
@blammit - Could you please take a look, better to check the commits separately. Thx.
You probably want QTEST_GUILESS_MAIN, otherwise it'll involve the loading of a UI stack, which isn't there now (and won't be able to run headless)
Humm, doc says:
"If QT_GUI_LIB is defined, the application object will be a QApplication, otherwise it will be a QCoreApplication. If qmake is used and the configuration includes QT += gui, then QT_GUI_LIB will be defined automatically."
So looks fine for me, and also works fine, either as standalone or inside testrunner.
I'd still prefer use of GUILESS_MAIN to be on the safe side.
Only in Qt5 it seems, so will do that change in separated commit when removing qt4 stuff from here to not mix up things more.
The change of the runTestSuite signature seems unnecessary to me, but that makes no functional difference I guess. LGTM.
Fix build and libs linking.