aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmldiskcache/test.qml
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2016-08-07 14:53:57 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-08-12 16:54:38 +0000
commitb40d005544cf4b991b797b0058a23dc61e8de5c2 (patch)
tree9ab3cbda9f719ffa2e8f68ecc140738b8879cae6 /tests/auto/qml/qmldiskcache/test.qml
parentf5a05313757e234c35455b2e1d6fbba43bc9ace2 (diff)
Enable disk cache for files coming from resources
By storing the cached data in QStandardPaths::CacheDir + "/qmlcache/" + sha1(filename) Change-Id: I6a8b4ca701019204fff362504697c3dac9f54bf1 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/qmldiskcache/test.qml')
-rw-r--r--tests/auto/qml/qmldiskcache/test.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qmldiskcache/test.qml b/tests/auto/qml/qmldiskcache/test.qml
new file mode 100644
index 0000000000..d632422616
--- /dev/null
+++ b/tests/auto/qml/qmldiskcache/test.qml
@@ -0,0 +1,4 @@
+import QtQml 2.0
+QtObject {
+ property int value: 20
+}