summaryrefslogtreecommitdiffstats
path: root/tests/tests.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.pro')
-rw-r--r--tests/tests.pro14
1 files changed, 3 insertions, 11 deletions
diff --git a/tests/tests.pro b/tests/tests.pro
index 79686122..e6aa3561 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,7 +1,3 @@
-!include( ../config.pri ) {
- error( "Couldn't find the config.pri file!" )
-}
-
TEMPLATE = subdirs
SUBDIRS += \
auto \
@@ -9,11 +5,6 @@ SUBDIRS += \
polarcharttest \
boxplottester
-!contains(QT_VERSION, ^5\\..*\\..*$)|qtHaveModule(declarative) {
- SUBDIRS += qmlchartproperties \
- qmlchartaxis
-}
-
contains(QT_CONFIG, opengl) {
SUBDIRS += chartwidgettest \
wavechart \
@@ -22,6 +13,7 @@ contains(QT_CONFIG, opengl) {
message("OpenGL not available. Some test apps are disabled")
}
-contains(QT_VERSION, ^5\\..*\\..*$):qtHaveModule(quick) {
- SUBDIRS += quick2chartproperties
+qtHaveModule(quick) {
+ SUBDIRS += qmlchartproperties \
+ qmlchartaxis
}