Commit 07bdbe04 authored by Kai Koehne's avatar Kai Koehne
Browse files

Only compile QmlDesigner plugin if private headers are installed

parent 0685cf6c
......@@ -36,9 +36,15 @@ SUBDIRS = plugin_coreplugin \
debugger/dumper.pro
contains(QT_CONFIG, declarative) {
SUBDIRS += plugin_qmlprojectmanager \
plugin_qmlinspector \
plugin_qmldesigner
plugin_qmlinspector
exists($$[QT_INSTALL_HEADERS]/QtDeclarative/private/qmlcontext_p.h) {
SUBDIRS += plugin_qmldesigner
} else {
warning("QmlDesigner plugin disabled! It depends on private headers from QtDeclarative module, which seems not to be installed.")
}
}
plugin_coreplugin.subdir = coreplugin
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment