From 08af5097597f227fe69339b49c302edc0f5c42dd Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@digia.com> Date: Tue, 25 Sep 2012 13:17:15 +0200 Subject: [PATCH] QmlDesigner: fix compile for Qt 5 Change-Id: I34282a36db8af9c5550ee4c9080519ce0c096d8e Reviewed-by: Marco Bubke <marco.bubke@digia.com> --- .../components/propertyeditor/propertyeditor.pri | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri index 4dfc8bce75a..57b14c18975 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 -- GitLab