diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.pri index 4dfc8bce75ade6ac568a5d231415eb18b7775188..57b14c18975e87f6a0ffce2e862b63dc74be605b 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