Only precompile QML files on release builds

This commit is contained in:
Cameron Gutman 2018-11-18 22:04:11 -08:00
parent ef15b5641a
commit 115ced7ab4

View file

@ -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