diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2011-09-16 14:07:05 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-19 10:24:25 +0200 |
commit | b8d656d8787aaa5fd15d9646882a77ca818b80bd (patch) | |
tree | c638bd0714cfced7549818a86bc4d46dd085353f /tests/auto/tools | |
parent | 39a6ff81bc1d606e078a06316414829221a02024 (diff) |
Fix autotest gui/widgets dependencies
This is in preparation of removing testlib's
dependency on QtGui and QtWidgets.
Autotests that need QtWidgets api must
explicitly include it (since the types are no
longer provided by the QtGui master header).
Autotests that don't need QtGui or QtWidgets
api shouldn't link against those libraries.
Change-Id: I2808289068514fcac582808828ad4634e2631733
Reviewed-on: http://codereview.qt-project.org/5093
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r-- | tests/auto/tools/moc/moc.pro | 1 | ||||
-rw-r--r-- | tests/auto/tools/rcc/rcc.pro | 1 | ||||
-rw-r--r-- | tests/auto/tools/uic/uic.pro | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/moc.pro b/tests/auto/tools/moc/moc.pro index f91c2f5b85..bbc6c1dc14 100644 --- a/tests/auto/tools/moc/moc.pro +++ b/tests/auto/tools/moc/moc.pro @@ -20,6 +20,7 @@ HEADERS += using-namespaces.h no-keywords.h task87883.h c-comments.h backslash-n if(*-g++*|*-icc*|*-clang|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h SOURCES += tst_moc.cpp +QT -= gui QT += sql network contains(QT_CONFIG, dbus){ DEFINES += WITH_DBUS diff --git a/tests/auto/tools/rcc/rcc.pro b/tests/auto/tools/rcc/rcc.pro index 1759b48a0e..1b85ff586a 100644 --- a/tests/auto/tools/rcc/rcc.pro +++ b/tests/auto/tools/rcc/rcc.pro @@ -1,5 +1,6 @@ CONFIG += qttest_p4 +QT = core TARGET = tst_rcc SOURCES += tst_rcc.cpp diff --git a/tests/auto/tools/uic/uic.pro b/tests/auto/tools/uic/uic.pro index 37c9a1e430..4528a29ca9 100644 --- a/tests/auto/tools/uic/uic.pro +++ b/tests/auto/tools/uic/uic.pro @@ -1,5 +1,6 @@ load(qttest_p4) +QT = core SOURCES += tst_uic.cpp TARGET = tst_uic |