From 85d288e3c3a0ca829e39e5aa6bfb7dc71ec69e90 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 17 Nov 2016 11:15:52 +0100 Subject: [PATCH] QmlDesigner: Disable disk cache in puppet The disk cache time stamp is only accurate up to a second and there might be .qmlc files from the actual application. Change-Id: I6ec9cfdda8eb7aba5a630ac577d2cef999a8132c Reviewed-by: Simon Hausmann Reviewed-by: Tim Jenssen --- src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp b/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp index 8df5df04c9f..65aa907a64c 100644 --- a/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp +++ b/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp @@ -381,6 +381,7 @@ QProcessEnvironment PuppetCreator::processEnvironment() const environment.set(QLatin1String("QML_BAD_GUI_RENDER_LOOP"), QLatin1String("true")); environment.set(QLatin1String("QML_USE_MOCKUPS"), QLatin1String("true")); environment.set(QLatin1String("QML_PUPPET_MODE"), QLatin1String("true")); + environment.set(QLatin1String("QML_DISABLE_DISK_CACHE"), QLatin1String("true")); environment.set(QLatin1String("QT_AUTO_SCREEN_SCALE_FACTOR"), QLatin1String("1")); #ifndef QMLDESIGNER_TEST