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 += \