Skip to content
Snippets Groups Projects
Commit 3934b9b9 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: enable build for Qt 5


Change-Id: Ie199aee388342fb62ff51ec2475134cdf4f9dcee
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent a42eeecf
No related branches found
No related tags found
No related merge requests found
...@@ -65,13 +65,17 @@ contains(QT_CONFIG, declarative)|contains(QT_CONFIG, quick1) { ...@@ -65,13 +65,17 @@ contains(QT_CONFIG, declarative)|contains(QT_CONFIG, quick1) {
plugin_qmlprojectmanager \ plugin_qmlprojectmanager \
plugin_qmlprofiler plugin_qmlprofiler
include(../private_headers.pri) greaterThan(QT_MAJOR_VERSION, 4) {
exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) { SUBDIRS += plugin_qmldesigner
SUBDIRS += plugin_qmldesigner
} else { } else {
warning("QmlDesigner plugin has been disabled.") include(../private_headers.pri)
warning("The plugin depends on private headers from QtDeclarative module.") exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) {
warning("To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.") SUBDIRS += plugin_qmldesigner
} else {
warning("QmlDesigner plugin has been disabled.")
warning("The plugin depends on private headers from QtDeclarative module.")
warning("To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.")
}
} }
} else { } else {
warning("QmlProjectManager, QmlProfiler and QmlDesigner plugins have been disabled: The plugins require QtDeclarative (Qt 4.x) or QtQuick1 (Qt 5.x)"); warning("QmlProjectManager, QmlProfiler and QmlDesigner plugins have been disabled: The plugins require QtDeclarative (Qt 4.x) or QtQuick1 (Qt 5.x)");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment