Commit 292ea498 authored by Christian Kamm's avatar Christian Kamm
Browse files

Try building 'qmldump' only if private headers are available.

Reviewed-by: Oswald Buddenhagen
parent 24d0f694
TEMPLATE = subdirs TEMPLATE = subdirs
SUBDIRS += qmldump
contains(QT_CONFIG, declarative) {
include(../../private_headers.pri)
exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativemetatype_p.h) {
SUBDIRS += qmldump
} else {
warning()
warning("QmlDump utility has been disabled")
warning("The helper depends on on private headers from QtDeclarative module.")
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()
}
}
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