diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-09-25 13:17:15 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-09-25 15:01:32 +0200 |
commit | 08af5097597f227fe69339b49c302edc0f5c42dd (patch) | |
tree | 40053a1629c604073f86fdcbbda14a34a84ec229 /src/plugins/qmldesigner/components | |
parent | b8caadc3348b651e221d121376f25677b1f102e0 (diff) | |
download | qt-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.pri | 7 |
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 |