Fixed linking against QtQuickTest on mac.
authorCharles Yin <charles.yin@nokia.com>
Fri, 27 May 2011 04:43:13 +0000 (14:43 +1000)
committerQt Continuous Integration System <qt-info@nokia.com>
Tue, 31 May 2011 04:31:55 +0000 (06:31 +0200)
qmltest is now a Qt module, so it's not necessary to configure
the include&library paths manually.

Change-Id: I1d2baa67138e08ab9007fba9f6adcf8847509ba8
Reviewed-on: http://codereview.qt.nokia.com/163
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
mkspecs/features/qmltestcase.prf

index a3d66e6..5e60185 100644 (file)
@@ -1,20 +1,6 @@
 CONFIG += testcase
 
-!symbian {
-    INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtQuickTest
-} else {
-    load(data_caging_paths)
-
-    INCLUDEPATH+=$$MW_LAYER_PUBLIC_EXPORT_PATH(QtQuickTest)
-}
-
-QT += declarative
-
-win32:CONFIG(debug, debug|release) {
-    LIBS += -lQtQuickTest$${QT_LIBINFIX}d
-} else {
-    LIBS += -lQtQuickTest$${QT_LIBINFIX}
-}
+QT += declarative qmltest
 
 # If the .pro file specified an IMPORTPATH, then add that to
 # the command-line when the test is run.