aboutsummaryrefslogtreecommitdiffstats
path: root/sync.profile
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2018-06-14 23:40:47 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-06-21 12:29:05 +0000
commit3c14450a3e08fdaf6fb4933e354e17e4944a084f (patch)
tree62650665ab4970407271238e1d8ee6a96c432656 /sync.profile
parent267513e6d955cb93abb879c495dd079c254d3493 (diff)
Always generate QML cache files in the cache directory, never in sources
This patch eliminates the annoying behavior of the QML compiler that .qmlc cache files are stored alongside the sources. When cache files are generated at run-time, then they are always stored in the application's local cache directory defined by QStandardPaths::CacheLocation (qmlcache subfolder). The application's uninstaller is responsible for cleaning up the cache directory during removal. If explicitly precompiled QML files exist at the source location, then they are loaded from there and no cache file is being generated. Storing cache files in the source directory is as problematic as an in-tree build. The cache files pollute the source directory and create unnecessary inconvenience with version control systems. [ChangeLog][QtQml][QQmlEngine] QML cache files are now always stored in the application's cache directory when being generated at run-time. If precompiled QML files exist at the source location, then they are loaded and no cache file is being generated. The application's uninstaller is responsible for cleaning up the cache during removal. Task-number: QTBUG-56150 Change-Id: I5a64b7f958e782e03c71873a82cef4b07011cbf1 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions