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 <simon.hausmann@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2016-11-17 11:15:52 +01:00
committed by Thomas Hartmann
parent fd460a11dc
commit 85d288e3c3

View File

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