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/testlib/selftests | |
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/testlib/selftests')
-rw-r--r-- | tests/auto/testlib/selftests/test/test.pro | 2 | ||||
-rw-r--r-- | tests/auto/testlib/selftests/xunit/xunit.pro | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/test/test.pro b/tests/auto/testlib/selftests/test/test.pro index af3370bac0..2ad2483294 100644 --- a/tests/auto/testlib/selftests/test/test.pro +++ b/tests/auto/testlib/selftests/test/test.pro @@ -1,6 +1,6 @@ load(qttest_p4) SOURCES += ../tst_selftests.cpp -QT += core xml testlib-private +QT = core xml testlib-private TARGET = ../tst_selftests diff --git a/tests/auto/testlib/selftests/xunit/xunit.pro b/tests/auto/testlib/selftests/xunit/xunit.pro index e523520ed6..d118fc0202 100644 --- a/tests/auto/testlib/selftests/xunit/xunit.pro +++ b/tests/auto/testlib/selftests/xunit/xunit.pro @@ -1,4 +1,5 @@ load(qttest_p4) +QT = core # this is not a real testcase ('make check' should not run it) CONFIG -= testcase |