summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2012-09-25 13:17:15 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2012-09-25 15:01:32 +0200
commit08af5097597f227fe69339b49c302edc0f5c42dd (patch)
tree40053a1629c604073f86fdcbbda14a34a84ec229 /src/plugins/qmldesigner/components
parentb8caadc3348b651e221d121376f25677b1f102e0 (diff)
downloadqt-creator-08af5097597f227fe69339b49c302edc0f5c42dd.tar.gz
QmlDesigner: fix compile for Qt 5
Change-Id: I34282a36db8af9c5550ee4c9080519ce0c096d8e Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/components')
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri
index 4dfc8bce75..57b14c1897 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri
@@ -39,6 +39,11 @@ HEADERS += propertyeditor.h \
declarativewidgetview.h \
gradientlineqmladaptor.h
-QT += declarative
+greaterThan(QT_MAJOR_VERSION, 4) {
+ QT += quick1
+} else {
+ QT += declarative
+}
+
RESOURCES += propertyeditor.qrc
FORMS += behaviordialog.ui