improve dependencies of qmlparser test
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Thu, 7 Mar 2013 15:31:03 +0000 (16:31 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 16 Mar 2013 09:34:37 +0000 (10:34 +0100)
first, this doesn't need gui.
second, use qml instead of qmldevtools - there is no need to use the
static library here, and after bootstrapping it would pose a real
problem (testlib is not bootstrapped). on the downside, this makes the
test rely on private_tests.

Change-Id: Ic550fa05dcd0f3ba333850640a5b7e3fdd47d905
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
tests/auto/qml/qml.pro
tests/auto/qml/qqmlparser/qqmlparser.pro

index e278d29..ede7689 100644 (file)
@@ -23,7 +23,6 @@ PUBLICTESTS += \
     qqmlqt \
     qqmltranslation \
     qqmlxmlhttprequest \
-    qqmlparser \
     qtqmlmodules \
     qquickfolderlistmodel
 
@@ -48,6 +47,7 @@ PRIVATETESTS += \
     qqmllistcompositor \
     qqmllistmodel \
     qqmllistmodelworkerscript \
+    qqmlparser \
     qquickworkerscript \
     qqmlbundle \
     qrcqml \
index f181a87..c666b71 100644 (file)
@@ -1,6 +1,6 @@
 CONFIG += testcase
 TARGET = tst_qqmlparser
-QT += qmldevtools-private testlib gui-private
+QT += qml-private testlib
 macx:CONFIG -= app_bundle
 
 SOURCES += tst_qqmlparser.cpp