aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-05-23 16:41:20 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-06-06 11:15:23 +0000
commitd8f84e5769632544dfac5138348481330c4da4cd (patch)
tree17aa6ebcff48d30e6793e1ab105dd67ff7920853 /tools
parentd77587b95f490ba9be372acfb81a1659f2844b2f (diff)
Disable ahead-of-time cache generation on Android
It appears that not all phones are happy with the code that we generate. Until we can find a fix for that, let's disable the feature. Change-Id: If4aa5cc14edcb69843fb9ef32691657c8c507b83 Task-number: QTBUG-60918 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlcachegen/qmlcache.prf5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qmlcachegen/qmlcache.prf b/tools/qmlcachegen/qmlcache.prf
index 4470db0d09..330da358b7 100644
--- a/tools/qmlcachegen/qmlcache.prf
+++ b/tools/qmlcachegen/qmlcache.prf
@@ -3,6 +3,11 @@ static {
return()
}
+android {
+ message("QML cache generation ahead of time is not supported on Android")
+ return()
+}
+
qtPrepareTool(QML_CACHEGEN, qmlcachegen, _ARCH_CHECK)
isEmpty(TARGETPATH): error("Must set TARGETPATH (QML import name) for ahead-of-time QML cache generation")