Remove testlib's dependency on gui and widgets
authorKent Hansen <kent.hansen@nokia.com>
Fri, 16 Sep 2011 08:03:04 +0000 (10:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Sep 2011 06:24:21 +0000 (08:24 +0200)
Commit 37d76a679878d7c07f8a2cb17f7bda46f6582572
made testlib depend on gui and widgets. It shouldn't.
Changing the includes was enough.
It's the application (e.g. autotest) that uses the
gui/widgets features that should link against gui/widgets.

Change-Id: If80d30a7eca2cac78cb5c6e5d29c82a06fb9f1dd
Reviewed-on: http://codereview.qt-project.org/5095
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jo Asplin <jo.asplin@nokia.com>
Reviewed-by: Matthew Cattell <matthew.cattell@nokia.com>
src/testlib/testlib.pro

index e8858ea..d4dec96 100644 (file)
@@ -2,7 +2,7 @@ load(qt_module)
 
 TARGET = QtTest
 QPRO_PWD = $$PWD
-QT = core gui widgets
+QT = core
 
 CONFIG += module
 MODULE_PRI = ../modules/qt_testlib.pri