aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/compiler.pri
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-08-09 15:46:38 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-08-10 12:44:12 +0000
commit9425f832cdc036818cb08d1bd1328345fcb6f2ff (patch)
tree67f81cfa1b1637b856f5d7072690e252e1ac41a8 /src/qml/compiler/compiler.pri
parent3d618b58b4f138717dffc81c9c421fe4398dd30c (diff)
Enable disk caching on Windows
In order to enable the disk cache we need to replace the QFile::map usage with direct win32 file API calls in order to create executable file mappings. The files opened with QFile lack GENERIC_EXECUTE in the open flags. The code remains disabled on WinRT for now. Change-Id: I7d12267755a9de0344ac087b2ff67140531d9df0 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/qml/compiler/compiler.pri')
-rw-r--r--src/qml/compiler/compiler.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/compiler.pri b/src/qml/compiler/compiler.pri
index e80c0236a3..e49f5c40a5 100644
--- a/src/qml/compiler/compiler.pri
+++ b/src/qml/compiler/compiler.pri
@@ -41,5 +41,6 @@ SOURCES += \
$$PWD/qv4compilationunitmapper.cpp
unix: SOURCES += $$PWD/qv4compilationunitmapper_unix.cpp
+else: SOURCES += $$PWD/qv4compilationunitmapper_win.cpp
}