From 115ced7ab4a7c50ab637352c319645d9e1c2b882 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 18 Nov 2018 22:04:11 -0800 Subject: [PATCH] Only precompile QML files on release builds --- app/app.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/app.pro b/app/app.pro index a55e90df..75819946 100644 --- a/app/app.pro +++ b/app/app.pro @@ -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