Make qprocess autotest build without widgets

Change-Id: I0a428852222accbea8446ba1c284f1c44b9d4bf3
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Kent Hansen 2012-06-05 13:08:16 +02:00 committed by Qt by Nokia
parent 6f297d9dd4
commit 872b412bcc
2 changed files with 5 additions and 0 deletions

View File

@ -15,3 +15,6 @@ SUBPROGRAMS = \
fileWriterProcess \
testSetWorkingDirectory \
testSoftExit
contains(QT_CONFIG, no-widgets): SUBPROGRAMS -= \
testGuiProcess

View File

@ -1056,7 +1056,9 @@ void tst_QProcess::softExitInSlots_data()
{
QTest::addColumn<QString>("appName");
#ifndef QT_NO_WIDGETS
QTest::newRow("gui app") << "testGuiProcess/testGuiProcess";
#endif
QTest::newRow("console app") << "testProcessEcho2/testProcessEcho2";
}