aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlcachegen/qmlcache.prf
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2016-12-30 16:11:20 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-01-31 17:09:15 +0000
commit27c678cea66e3ab092b6788b6e403c232677041f (patch)
treeaa048eacbd299478ac3728ce4f858580b87e18ac /tools/qmlcachegen/qmlcache.prf
parent4eca12e9f5b6e6b09d89cd4438e8557c5b66dbd1 (diff)
Added tool to generate QML cache files
This is an initial preview that will allow generating cache files ahead of time, with some limitations: * There's no support for import dependency resolution * Only ARMv7 is supported as cross-compile target Change-Id: I894237f55ba0c0a71f0ed5dda2ff6f7e5bd6603e Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tools/qmlcachegen/qmlcache.prf')
-rw-r--r--tools/qmlcachegen/qmlcache.prf9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/qmlcachegen/qmlcache.prf b/tools/qmlcachegen/qmlcache.prf
new file mode 100644
index 0000000000..f151218811
--- /dev/null
+++ b/tools/qmlcachegen/qmlcache.prf
@@ -0,0 +1,9 @@
+qtPrepareTool(QML_CACHEGEN, qmlcachegen)
+
+qmlcachegen.input = QML_FILES
+qmlcachegen.output = ${QMAKE_FILE_IN}c
+qmlcachegen.commands = $$QML_CACHEGEN ${QMAKE_FILE_IN}
+qmlcachegen.name = Generate QML Cache ${QMAKE_FILE_IN}
+qmlcachegen.variable_out = AUX_QML_FILES
+
+QMAKE_EXTRA_COMPILERS += qmlcachegen