Make qprocess autotest build without widgets
Change-Id: I0a428852222accbea8446ba1c284f1c44b9d4bf3 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
parent
6f297d9dd4
commit
872b412bcc
@ -15,3 +15,6 @@ SUBPROGRAMS = \
|
|||||||
fileWriterProcess \
|
fileWriterProcess \
|
||||||
testSetWorkingDirectory \
|
testSetWorkingDirectory \
|
||||||
testSoftExit
|
testSoftExit
|
||||||
|
|
||||||
|
contains(QT_CONFIG, no-widgets): SUBPROGRAMS -= \
|
||||||
|
testGuiProcess
|
||||||
|
@ -1056,7 +1056,9 @@ void tst_QProcess::softExitInSlots_data()
|
|||||||
{
|
{
|
||||||
QTest::addColumn<QString>("appName");
|
QTest::addColumn<QString>("appName");
|
||||||
|
|
||||||
|
#ifndef QT_NO_WIDGETS
|
||||||
QTest::newRow("gui app") << "testGuiProcess/testGuiProcess";
|
QTest::newRow("gui app") << "testGuiProcess/testGuiProcess";
|
||||||
|
#endif
|
||||||
QTest::newRow("console app") << "testProcessEcho2/testProcessEcho2";
|
QTest::newRow("console app") << "testProcessEcho2/testProcessEcho2";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user