diff --git a/README b/README index ae411270f5ee71c3ff07522264dd625436156b91..ebc8a6c03ca8f6ab1da4a5a1cdd9d130bf130c9d 100644 --- a/README +++ b/README @@ -12,7 +12,9 @@ Mac OS X 10.7 or later Building the sources requires Qt 5.2.0 or later. It is also possible to build with Qt 4.8.x, but in that case the Welcome mode, -Qt Quick Designer, QML Profiler, and the WinRT and Qbs support are disabled. +QML Profiler, and the WinRT and Qbs support are disabled. +The Qt Quick Designer can only be compiled with Qt 5.3.1 or later , because +it requires QQuickWidget. Compiling Qt Creator ==================== diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro index 61a624622778969d6c23532fe54c90210ca791d7..a8d0d6c88075d5d55e9230077dfdc6d75636af15 100644 --- a/src/plugins/plugins.pro +++ b/src/plugins/plugins.pro @@ -76,13 +76,18 @@ isEmpty(IDE_PACKAGE_MODE) { updateinfo } +minQtVersion(5, 3, 1) { + SUBDIRS += qmldesigner +} else { + warning("QmlDesigner plugin has been disabled.") + warning("This plugin requires Qt 5.3.1 or newer.") +} + minQtVersion(5, 2, 0) { SUBDIRS += \ - qmldesigner \ qmlprofiler \ welcome } else { - warning("QmlDesigner plugin has been disabled.") warning("QmlProfiler plugin has been disabled.") warning("Welcome plugin has been disabled.") warning("These plugins need at least Qt 5.2.")