Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
d3677abd
Commit
d3677abd
authored
Aug 09, 2010
by
Alessandro Portale
Browse files
Making sure that QMLINSPECTOR can only be active for debug builds
parent
6af24972
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/templates/qmlapp/app.pro
View file @
d3677abd
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment