summaryrefslogtreecommitdiff
path: root/qtcreator.pri
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2010-06-03 10:25:17 +0200
committerChristian Kamm <christian.d.kamm@nokia.com>2010-06-03 10:25:17 +0200
commit5234c775f765a2c6293da9bcf960a6f4edec46dc (patch)
treebcdec6bb4ac5a05148d1b60ae6081f6d2690b850 /qtcreator.pri
parent111884365ac6883cffe3088cb378799541f68ec0 (diff)
downloadqt-creator-5234c775f765a2c6293da9bcf960a6f4edec46dc.tar.gz
Make the QmlJSEditor work when Qml support is disabled.
- Enable qmlprojectplugin even if Qml support is disabled. - But disable its wizards in that case. - Disable the Qml file wizard if the support is off. Reviewed-by: Kai Koehne
Diffstat (limited to 'qtcreator.pri')
-rw-r--r--qtcreator.pri6
1 files changed, 6 insertions, 0 deletions
diff --git a/qtcreator.pri b/qtcreator.pri
index b4ca541b0f..73b2e73d8b 100644
--- a/qtcreator.pri
+++ b/qtcreator.pri
@@ -117,3 +117,9 @@ win32-msvc* {
# Handle S60 support: default on Windows, conditionally built on other platforms.
macx:SUPPORT_QT_S60 = $$(QTCREATOR_WITH_S60)
else:SUPPORT_QT_S60=1
+
+# Define QTCREATOR_WITH_QML if building with Qml support
+SUPPORT_QT_QML = $$(QTCREATOR_WITH_QML)
+!isEmpty(SUPPORT_QT_QML) {
+ DEFINES += QTCREATOR_WITH_QML
+}