From 5e6f2a016c6f51e739fae2fae153337a9abde563 2012-09-07 05:54:12 From: Michal Klocek Date: 2012-09-07 05:54:12 Subject: [PATCH] Disables qml test on < qt 4.7.4 --- diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index b325b84..4411b14 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -24,8 +24,14 @@ SUBDIRS += \ qcategoryaxis \ qbarcategoryaxis \ domain \ - chartdataset \ - qml + chartdataset + +contains(QT_VERSION, ^4\\.[0-7]\\.[0-3]\\s*$) | contains(QT_VERSION, ^4\\.[0-6]\\..*) { + warning("QtCommercial.Charts QML API requires at least Qt 4.7.4. You are using $${QT_VERSION} so the QML API is disabled.") +} else { + + SUBDIRS += qml +} !linux-arm*: { SUBDIRS += \