summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2023-02-22 14:00:20 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2023-02-22 13:26:13 +0000
commit917d38f317689059fb8b8e503d4f74e15c80ad6f (patch)
treeb63b85d03c9d534fac369ada3cf3ec6c56dc9182
parentf6155937a023ddcaa632440d0c4666845d3db9bc (diff)
downloadqt-creator-917d38f317689059fb8b8e503d4f74e15c80ad6f.tar.gz
QmlDesigner: Disable QML cache
See: QDS-8861 Task-number: QDS-9110 Change-Id: I654c7e6a961d9791533564593906323149d2395b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r--src/app/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index 74d1ccec9e..5665dfa312 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -502,6 +502,8 @@ int main(int argc, char **argv)
}
}
+ qputenv("QML_DISABLE_DISK_CACHE", "true");
+
qputenv("QSG_RHI_BACKEND", "opengl");
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(
Qt::HighDpiScaleFactorRoundingPolicy::Round);