Only precompile QML files on release builds
This commit is contained in:
parent
ef15b5641a
commit
115ced7ab4
1 changed files with 3 additions and 1 deletions
|
|
@ -18,7 +18,9 @@ CONFIG += force_debug_info
|
|||
# Since this binds the app against the Qt runtime version, we will only
|
||||
# do this for Windows and Mac, since they ship with the Qt runtime.
|
||||
win32|macx {
|
||||
CONFIG += qtquickcompiler
|
||||
CONFIG(release, debug|release) {
|
||||
CONFIG += qtquickcompiler
|
||||
}
|
||||
}
|
||||
|
||||
TEMPLATE = app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue