Commit f618115b authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlWizard: Improve error output in generated .pri file

Reviewed-by: Alessandro Portale
parent 3e9f3337
......@@ -13,7 +13,13 @@ contains(DEFINES, QMLOBSERVER) {
contains(DEFINES, QMLJSDEBUGGER) {
CONFIG(debug, debug|release) {
isEmpty(QMLJSDEBUGGER_PATH) {
warning(QMLJSDEBUGGER_PATH was not set. QMLJSDEBUGGER not activated.)
warning()
warning(Debugging QML requires the qmljsdebugger library that ships with Qt Creator.)
warning(Please specify its location on the qmake command line, e.g.)
warning( qmake -r QMLJSDEBUGGER_PATH=$CREATORDIR/share/qtcreator/qmljsdebugger)
warning()
error(QMLJSDEBUGGER defined, but no QMLJSDEBUGGER_PATH set on command line. Aborting.)
DEFINES -= QMLJSDEBUGGER
} else {
include($$QMLJSDEBUGGER_PATH/qmljsdebugger-lib.pri)
......
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