Precompile QML files to avoid writing qmlcache. Fixes #86

This commit is contained in:
Cameron Gutman 2018-09-22 13:44:58 -07:00
parent 2c960059ee
commit 97e5acecd7

View File

@ -14,6 +14,13 @@ CONFIG += debug_and_release
# Ensure symbols are always generated # Ensure symbols are always generated
CONFIG += force_debug_info CONFIG += force_debug_info
# Precompile QML files to avoid writing qmlcache on portable versions.
# 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
}
TEMPLATE = app TEMPLATE = app
# The following define makes your compiler emit warnings if you use # The following define makes your compiler emit warnings if you use