summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-05-27 14:43:13 +1000
committerQt Continuous Integration System <qt-info@nokia.com>2011-05-31 06:31:55 +0200
commita3146bb75fad0297b9e4056883d44ae218286a00 (patch)
treeb97a4d59bc5919e3bd659c5314983dc3b4eb0369
parent8ff3028e2354a32908c3dd03b330b5734e15630e (diff)
Fixed linking against QtQuickTest on mac.
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>
-rw-r--r--mkspecs/features/qmltestcase.prf16
1 files changed, 1 insertions, 15 deletions
diff --git a/mkspecs/features/qmltestcase.prf b/mkspecs/features/qmltestcase.prf
index a3d66e659e..5e60185493 100644
--- a/mkspecs/features/qmltestcase.prf
+++ b/mkspecs/features/qmltestcase.prf
@@ -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.