summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-05-30 09:40:45 +1000
committerCharles Yin <charles.yin@nokia.com>2011-05-30 09:40:45 +1000
commitb3aae617644ffdfb760bf21521d9841c6408fe19 (patch)
treea041b5ad49dc072779c2ded1b9518cf3625cca34 /tools
parenta47c1fd17bead5a89a512b684a54a83f9a21a8ff (diff)
fix the qmltestrunner building errors
Diffstat (limited to 'tools')
-rw-r--r--tools/qmltestrunner/qmltestrunner.pro7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/qmltestrunner/qmltestrunner.pro b/tools/qmltestrunner/qmltestrunner.pro
index 7ace0f7358..c431aafcb5 100644
--- a/tools/qmltestrunner/qmltestrunner.pro
+++ b/tools/qmltestrunner/qmltestrunner.pro
@@ -3,9 +3,10 @@ TARGET = qmltestrunner
CONFIG += warn_on
SOURCES += main.cpp
-contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
- QT += opengl
-}
+
+QT += declarative qmltest
+
+DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"$$OUT_PWD\\\"\"
target.path = $$[QT_INSTALL_BINS]
INSTALLS += target