From f14e2686949bf969c2b0da76816b71a7167089f9 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 8 Oct 2013 12:14:20 +0200 Subject: [PATCH] don't erroneously claim that gui support is needed Change-Id: Ia7b1f02cab9fa0fc9e487ca49d75e85ed0cfee9d Reviewed-by: Thiago Macieira --- examples/threads/semaphores/semaphores.cpp | 2 +- examples/threads/semaphores/semaphores.pro | 2 +- examples/threads/waitconditions/waitconditions.cpp | 2 +- examples/threads/waitconditions/waitconditions.pro | 2 +- .../qparallelanimationgroup/qparallelanimationgroup.pro | 2 +- .../corelib/animation/qpauseanimation/qpauseanimation.pro | 2 +- .../itemmodels/qabstractitemmodel/qabstractitemmodel.pro | 2 +- .../corelib/kernel/qmetaobjectbuilder/qmetaobjectbuilder.pro | 2 +- tests/auto/corelib/kernel/qpointer/qpointer.pro | 2 +- tests/auto/corelib/kernel/qsignalmapper/qsignalmapper.pro | 2 +- tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.pro | 1 + tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.pro | 1 + .../quuid/testProcessUniqueness/testProcessUniqueness.pro | 1 + .../auto/corelib/statemachine/qstatemachine/qstatemachine.pro | 2 +- tests/auto/corelib/tools/qbytedatabuffer/qbytedatabuffer.pro | 2 +- tests/auto/corelib/tools/qtimezone/qtimezone.pro | 2 +- tests/auto/dbus/qdbusmarshall/qdbusmarshall.pro | 2 +- tests/auto/other/modeltest/modeltest.cpp | 4 +--- 18 files changed, 18 insertions(+), 17 deletions(-) diff --git a/examples/threads/semaphores/semaphores.cpp b/examples/threads/semaphores/semaphores.cpp index f7b25238f6..fb7f1f2376 100644 --- a/examples/threads/semaphores/semaphores.cpp +++ b/examples/threads/semaphores/semaphores.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include +#include #include #include diff --git a/examples/threads/semaphores/semaphores.pro b/examples/threads/semaphores/semaphores.pro index 71bc5b3f35..7dfe7c3ba0 100644 --- a/examples/threads/semaphores/semaphores.pro +++ b/examples/threads/semaphores/semaphores.pro @@ -1,5 +1,5 @@ SOURCES += semaphores.cpp -QT = core gui +QT = core CONFIG -= app_bundle CONFIG += console diff --git a/examples/threads/waitconditions/waitconditions.cpp b/examples/threads/waitconditions/waitconditions.cpp index 3921334d42..6f5f56e737 100644 --- a/examples/threads/waitconditions/waitconditions.cpp +++ b/examples/threads/waitconditions/waitconditions.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include +#include #include #include diff --git a/examples/threads/waitconditions/waitconditions.pro b/examples/threads/waitconditions/waitconditions.pro index c8de0b3774..7f9491a0b1 100644 --- a/examples/threads/waitconditions/waitconditions.pro +++ b/examples/threads/waitconditions/waitconditions.pro @@ -1,4 +1,4 @@ -QT = core gui +QT = core CONFIG -= moc app_bundle CONFIG += console diff --git a/tests/auto/corelib/animation/qparallelanimationgroup/qparallelanimationgroup.pro b/tests/auto/corelib/animation/qparallelanimationgroup/qparallelanimationgroup.pro index 4383c44259..23343f27f5 100644 --- a/tests/auto/corelib/animation/qparallelanimationgroup/qparallelanimationgroup.pro +++ b/tests/auto/corelib/animation/qparallelanimationgroup/qparallelanimationgroup.pro @@ -1,6 +1,6 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qparallelanimationgroup -QT = core gui testlib +QT = core testlib SOURCES = tst_qparallelanimationgroup.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/animation/qpauseanimation/qpauseanimation.pro b/tests/auto/corelib/animation/qpauseanimation/qpauseanimation.pro index 812c98f8f0..4c2dd02951 100644 --- a/tests/auto/corelib/animation/qpauseanimation/qpauseanimation.pro +++ b/tests/auto/corelib/animation/qpauseanimation/qpauseanimation.pro @@ -1,6 +1,6 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qpauseanimation -QT = core-private gui-private testlib +QT = core-private testlib SOURCES = tst_qpauseanimation.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/itemmodels/qabstractitemmodel/qabstractitemmodel.pro b/tests/auto/corelib/itemmodels/qabstractitemmodel/qabstractitemmodel.pro index ef36f8d7fc..ef571de192 100644 --- a/tests/auto/corelib/itemmodels/qabstractitemmodel/qabstractitemmodel.pro +++ b/tests/auto/corelib/itemmodels/qabstractitemmodel/qabstractitemmodel.pro @@ -1,7 +1,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qabstractitemmodel -QT += testlib +QT = core testlib mtdir = ../../../other/modeltest INCLUDEPATH += $$PWD/$${mtdir} diff --git a/tests/auto/corelib/kernel/qmetaobjectbuilder/qmetaobjectbuilder.pro b/tests/auto/corelib/kernel/qmetaobjectbuilder/qmetaobjectbuilder.pro index 9e2d3519e6..68d3b48086 100644 --- a/tests/auto/corelib/kernel/qmetaobjectbuilder/qmetaobjectbuilder.pro +++ b/tests/auto/corelib/kernel/qmetaobjectbuilder/qmetaobjectbuilder.pro @@ -1,6 +1,6 @@ CONFIG += testcase parallel_test TARGET = tst_qmetaobjectbuilder -QT = core-private gui-private testlib +QT = core-private testlib SOURCES = tst_qmetaobjectbuilder.cpp mac:CONFIG -= app_bundle DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/kernel/qpointer/qpointer.pro b/tests/auto/corelib/kernel/qpointer/qpointer.pro index 8786d07292..4b573cb6a5 100644 --- a/tests/auto/corelib/kernel/qpointer/qpointer.pro +++ b/tests/auto/corelib/kernel/qpointer/qpointer.pro @@ -1,7 +1,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qpointer -QT += testlib +QT = core testlib qtHaveModule(widgets): QT += widgets SOURCES = tst_qpointer.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/kernel/qsignalmapper/qsignalmapper.pro b/tests/auto/corelib/kernel/qsignalmapper/qsignalmapper.pro index 59660d4b07..526db5eef3 100644 --- a/tests/auto/corelib/kernel/qsignalmapper/qsignalmapper.pro +++ b/tests/auto/corelib/kernel/qsignalmapper/qsignalmapper.pro @@ -1,6 +1,6 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qsignalmapper -QT += testlib +QT = core testlib SOURCES = tst_qsignalmapper.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.pro b/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.pro index 66fe844b21..2496cd2f1e 100644 --- a/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.pro +++ b/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.pro @@ -1,4 +1,5 @@ TEMPLATE = lib +QT = core CONFIG += plugin HEADERS = plugin1.h SOURCES = plugin1.cpp diff --git a/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.pro b/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.pro index aec057e80c..e70ed4fb25 100644 --- a/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.pro +++ b/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.pro @@ -1,4 +1,5 @@ TEMPLATE = lib +QT = core CONFIG += plugin HEADERS = plugin2.h SOURCES = plugin2.cpp diff --git a/tests/auto/corelib/plugin/quuid/testProcessUniqueness/testProcessUniqueness.pro b/tests/auto/corelib/plugin/quuid/testProcessUniqueness/testProcessUniqueness.pro index 9ce1ef3dcf..b2f7aaf2d3 100644 --- a/tests/auto/corelib/plugin/quuid/testProcessUniqueness/testProcessUniqueness.pro +++ b/tests/auto/corelib/plugin/quuid/testProcessUniqueness/testProcessUniqueness.pro @@ -1,4 +1,5 @@ SOURCES = main.cpp +QT = core CONFIG += console DESTDIR = ./ diff --git a/tests/auto/corelib/statemachine/qstatemachine/qstatemachine.pro b/tests/auto/corelib/statemachine/qstatemachine/qstatemachine.pro index b830efe3a5..f6fbbc83c6 100644 --- a/tests/auto/corelib/statemachine/qstatemachine/qstatemachine.pro +++ b/tests/auto/corelib/statemachine/qstatemachine/qstatemachine.pro @@ -1,7 +1,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qstatemachine -QT = core-private testlib gui +QT = core-private testlib qtHaveModule(widgets): QT += widgets SOURCES = tst_qstatemachine.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/tools/qbytedatabuffer/qbytedatabuffer.pro b/tests/auto/corelib/tools/qbytedatabuffer/qbytedatabuffer.pro index 135b1ff8c4..e23018f96a 100644 --- a/tests/auto/corelib/tools/qbytedatabuffer/qbytedatabuffer.pro +++ b/tests/auto/corelib/tools/qbytedatabuffer/qbytedatabuffer.pro @@ -1,4 +1,4 @@ TARGET = tst_qbytedatabuffer CONFIG += testcase -QT += core-private testlib +QT = core-private testlib SOURCES += tst_qbytedatabuffer.cpp diff --git a/tests/auto/corelib/tools/qtimezone/qtimezone.pro b/tests/auto/corelib/tools/qtimezone/qtimezone.pro index 2c53100857..fa2397a6bb 100644 --- a/tests/auto/corelib/tools/qtimezone/qtimezone.pro +++ b/tests/auto/corelib/tools/qtimezone/qtimezone.pro @@ -1,6 +1,6 @@ CONFIG += testcase parallel_test TARGET = tst_qtimezone -QT += core-private testlib +QT = core-private testlib SOURCES = tst_qtimezone.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 contains(QT_CONFIG,icu) { diff --git a/tests/auto/dbus/qdbusmarshall/qdbusmarshall.pro b/tests/auto/dbus/qdbusmarshall/qdbusmarshall.pro index 0578433d58..dfbb206324 100644 --- a/tests/auto/dbus/qdbusmarshall/qdbusmarshall.pro +++ b/tests/auto/dbus/qdbusmarshall/qdbusmarshall.pro @@ -4,6 +4,6 @@ TEMPLATE = subdirs CONFIG += ordered SUBDIRS = qpong test -QT += core-private testlib +QT = core-private testlib requires(contains(QT_CONFIG,private_tests)) diff --git a/tests/auto/other/modeltest/modeltest.cpp b/tests/auto/other/modeltest/modeltest.cpp index d356b26c54..a5233c4c3a 100644 --- a/tests/auto/other/modeltest/modeltest.cpp +++ b/tests/auto/other/modeltest/modeltest.cpp @@ -39,11 +39,9 @@ ** ****************************************************************************/ - -#include - #include "modeltest.h" +#include #include /*!