tst_qapplication: Fix test for configs without process support
Change-Id: If591183cd246b852821fcf8e354f5247aa7ba373 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
parent
f86a894527
commit
d4349f1acd
@ -189,9 +189,11 @@ public:
|
||||
|
||||
void tst_QApplication::initTestCase()
|
||||
{
|
||||
#if QT_CONFIG(process)
|
||||
// chdir to our testdata path and execute helper apps relative to that.
|
||||
const QString testdataDir = QFileInfo(QFINDTESTDATA("desktopsettingsaware")).absolutePath();
|
||||
QVERIFY2(QDir::setCurrent(testdataDir), qPrintable("Could not chdir to " + testdataDir));
|
||||
#endif
|
||||
}
|
||||
|
||||
void tst_QApplication::sendEventsOnProcessEvents()
|
||||
|
Loading…
Reference in New Issue
Block a user