From 97e5acecd7b1f54d61a5cf6952588d8da8542f31 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 22 Sep 2018 13:44:58 -0700 Subject: [PATCH] Precompile QML files to avoid writing qmlcache. Fixes #86 --- app/app.pro | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/app.pro b/app/app.pro index 5314ab16..c63a377e 100644 --- a/app/app.pro +++ b/app/app.pro @@ -14,6 +14,13 @@ CONFIG += debug_and_release # Ensure symbols are always generated 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 # The following define makes your compiler emit warnings if you use