diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-11-27 17:22:36 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-11-29 05:40:30 +0000 |
commit | e7d19a2a0fcbec38b7e132634d0ebe79b772c61b (patch) | |
tree | e2c4d69f210eb141f5245bdc22f2a4233516b737 /src/qml/parser | |
parent | 04af30c91a68a04ab1830d6ddc1bf470354b1862 (diff) |
Fix stale QML cache files when using assets:// on Android
When the "source file system" cannot provide us with a reliable time
stamp for a .qml file, do not try to save a cache file to disk.
Otherwise we may end up with stale cache files that are loaded despite
the source having changed.
We used to fall back to the app binary time stamp, but that was needed
before we correctly stored the time stamp of resources in the qrc data.
Fixes: QTBUG-68736
Change-Id: I8c2f8939d253472ce8bc1e3a59e8142d21f07539
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Richard Weickelt <richard@weickelt.de>
Diffstat (limited to 'src/qml/parser')
0 files changed, 0 insertions, 0 deletions