From 5cdd77fa1409e399150b3a64d2acefc682f94f25 2012-08-27 12:47:25 From: Tero Ahola Date: 2012-08-27 12:47:25 Subject: [PATCH] Disabled build of QML plugin on Qt 4.7.2 and earlier --- diff --git a/plugins/plugins.pro b/plugins/plugins.pro index f8375aa..b508ac5 100644 --- a/plugins/plugins.pro +++ b/plugins/plugins.pro @@ -3,8 +3,12 @@ } TEMPLATE = subdirs -SUBDIRS += \ - declarative + +contains(QT_VERSION, ^4\\.[0-7]\\.[0-2]\\s*$) | contains(QT_VERSION, ^4\\.[0-6]\\..*) { + warning("QtCommercial.Charts QML API requires at least Qt 4.7.3. You are using $${QT_VERSION} so the QML API is disabled.") +} else { + SUBDIRS += declarative +} !linux-arm*: { SUBDIRS += \