Commit 0c77b216 authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

Added private header check

parent 771064b9
TEMPLATE = subdirs
SUBDIRS = qtcreator/static.pro \
qtcreator/translations \
qtcreator/qmljsdebugger
qtcreator/translations
contains(QT_CONFIG, declarative) {
include(../src/private_headers.pri)
exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativemetatype_p.h) {
SUBDIRS += qtcreator/qmljsdebugger
} else {
warning()
warning("QmlJSDebugger library has been disabled")
warning("This library enables extended debugging features that work together with the QML JS Inspector.")
warning("To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.")
}
}
......@@ -12,7 +12,7 @@ contains(QT_CONFIG, declarative) {
warning("This means the Qml editor will lack correct completion and type checking.")
warning("To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.")
warning()
warning("QmlViewer has been disabled")
warning("QmlObserver has been disabled")
warning("This application depends on private headers from QtDeclarative module.")
warning("This means the QML debugging facilities will be limited.")
warning("To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.")
......
Markdown is supported
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