diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-11-24 13:06:29 +0200 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2017-11-24 13:18:29 +0000 |
commit | 1c5dcc0f2cee6683b0891f1d70011035be2bdd87 (patch) | |
tree | b9a78403aeb501130ec9e31c6cb9d3083369f50a | |
parent | 0c2e91dbcb8a2b280b13da60afb8da51907c781a (diff) |
Disable QML caching for studio
This is temporary workaround for issue QT3DS-556 and should be removed
once that is fixed.
Task-number: QT3DS-561
Change-Id: I9e475d681dac9e3d0fc0d0fff0df710e16bfec2b
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Pasi Keränen <pasi.keranen@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
-rw-r--r-- | src/Authoring/Studio/_Win/Application/StudioApp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Authoring/Studio/_Win/Application/StudioApp.cpp b/src/Authoring/Studio/_Win/Application/StudioApp.cpp index f0d6f3c4..6d9a966a 100644 --- a/src/Authoring/Studio/_Win/Application/StudioApp.cpp +++ b/src/Authoring/Studio/_Win/Application/StudioApp.cpp @@ -47,6 +47,9 @@ int main(int argc, char *argv[]) { + // Hack to work around qml cache bug (QT3DS-556) + qputenv("QML_DISABLE_DISK_CACHE", "true"); + // to enable QOpenGLWidget to work on macOS, we must set the default // QSurfaceFormat before QApplication is created. Otherwise context-sharing // fails and QOpenGLWidget breaks. |