diff options
author | Simon Hausmann <[email protected]> | 2016-08-09 15:46:38 +0200 |
---|---|---|
committer | Simon Hausmann <[email protected]> | 2016-08-10 12:44:12 +0000 |
commit | 9425f832cdc036818cb08d1bd1328345fcb6f2ff (patch) | |
tree | 67f81cfa1b1637b856f5d7072690e252e1ac41a8 /src/qml/compiler/qv4compilationunitmapper_p.h | |
parent | 3d618b58b4f138717dffc81c9c421fe4398dd30c (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 <[email protected]>
Diffstat (limited to 'src/qml/compiler/qv4compilationunitmapper_p.h')
-rw-r--r-- | src/qml/compiler/qv4compilationunitmapper_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4compilationunitmapper_p.h b/src/qml/compiler/qv4compilationunitmapper_p.h index 119111ccd6..69007f4618 100644 --- a/src/qml/compiler/qv4compilationunitmapper_p.h +++ b/src/qml/compiler/qv4compilationunitmapper_p.h @@ -76,8 +76,6 @@ private: #if defined(Q_OS_UNIX) size_t length; -#else - QFile f; #endif void *dataPtr; }; |