Re-enable commented tests.
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Fri, 16 Sep 2011 14:34:27 +0000 (16:34 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 16 Sep 2011 15:27:46 +0000 (17:27 +0200)
The tests used QWidget class so widgets library have to be added to pro
file. QDeclarativestates works fine.

Change-Id: I55c0798a37c3a894b774ba71671569fe007a49d7
Reviewed-on: http://codereview.qt-project.org/5104
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Matthew Cattell <matthew.cattell@nokia.com>
tests/auto/declarative/declarative.pro
tests/auto/declarative/nodes/nodes.pro
tests/auto/declarative/qdeclarativeecmascript/qdeclarativeecmascript.pro
tests/auto/declarative/qdeclarativeinfo/qdeclarativeinfo.pro

index b92dd42..4bda942 100644 (file)
@@ -7,14 +7,14 @@ METATYPETESTS += \
 PUBLICTESTS += \
 #   examples \
     geometry \
-#   nodes \
+    nodes \
     parserstress \
     qdeclarativecomponent \
     qdeclarativecontext \
     qdeclarativeengine \
     qdeclarativeerror \
     qdeclarativefolderlistmodel \
-#   qdeclarativeinfo \
+    qdeclarativeinfo \
     qdeclarativelistreference \
     qdeclarativemoduleplugin \
     qdeclarativepixmapcache \
@@ -35,7 +35,7 @@ PRIVATETESTS += \
     qdeclarativedebugclient \
     qdeclarativedebugservice \
 #   qdeclarativedebugjs \
-#   qdeclarativeecmascript \
+    qdeclarativeecmascript \
     qdeclarativeimageprovider \
     qdeclarativeinstruction \
     qdeclarativelanguage \
@@ -47,7 +47,7 @@ PRIVATETESTS += \
     qdeclarativespringanimation \
     qdeclarativestyledtext \
     qdeclarativesqldatabase \
-#   qdeclarativestates \
+    qdeclarativestates \
 #   qdeclarativesystempalette \
     qdeclarativetimer \
     qdeclarativevaluetypes \
index 19d3b09..8fda2f6 100644 (file)
@@ -1,5 +1,5 @@
 load(qttest_p4)
-QT       += opengl declarative
+QT       += opengl declarative widgets
 
 TARGET = tst_nodestest
 macx:CONFIG   -= app_bundle
index afdeadb..981cad5 100644 (file)
@@ -1,5 +1,5 @@
 load(qttest_p4)
-contains(QT_CONFIG,declarative): QT += declarative network
+contains(QT_CONFIG,declarative): QT += declarative network widgets
 macx:CONFIG -= app_bundle
 
 SOURCES += tst_qdeclarativeecmascript.cpp \
index 9687c1a..ddca3d3 100644 (file)
@@ -1,5 +1,5 @@
 load(qttest_p4)
-contains(QT_CONFIG,declarative): QT += declarative
+contains(QT_CONFIG,declarative): QT += declarative widgets
 macx:CONFIG -= app_bundle
 
 SOURCES += tst_qdeclarativeinfo.cpp