Commit d3677abd authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Making sure that QMLINSPECTOR can only be active for debug builds

parent 6af24972
......@@ -35,7 +35,13 @@ SOURCES += cpp/main.cpp cpp/qmlapplicationview.cpp
HEADERS += cpp/qmlapplicationview.h
INCLUDEPATH += cpp
contains(DEFINES, QMLINSPECTOR):!contains(CONFIG, release):include($$QMLINSPECTOR_PATH/qmljsdebugger-lib.pri)
contains(DEFINES, QMLINSPECTOR) {
CONFIG(debug, debug|release) {
include($$QMLINSPECTOR_PATH/qmljsdebugger-lib.pri)
} else {
DEFINES -= QMLINSPECTOR
}
}
symbian {
ICON = cpp/symbianicon.svg
......
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