aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-01-18 10:31:08 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2018-01-18 09:32:45 +0000
commit0c2b18778a5c7f38bcddda0ee5ceb04da540e6d8 (patch)
treec1f9265b616e19dcef375e9c8caa4dd3cecc9ccd
parentde3605a53db7fb3119615ffe5e8485ebe985e5db (diff)
Fix illegal name setup in qmlcachegen
After commit c2b4c6393fee37e0c6c4a8c5d40d13120cc8a94e we must also initialize the set in order to benefit from the improved lookup on the cache side. Change-Id: I0f66f118b912ed66a281d16caea67500f9c14046 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--tools/qmlcachegen/qmlcachegen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp
index 844cd816bc..8d59a34a28 100644
--- a/tools/qmlcachegen/qmlcachegen.cpp
+++ b/tools/qmlcachegen/qmlcachegen.cpp
@@ -413,6 +413,8 @@ int main(int argc, char **argv)
if (parser.isSet(outputFileOption))
outputFileName = parser.value(outputFileOption);
+ setupIllegalNames();
+
const QString targetABI = parser.value(targetABIOption);
if (inputFile.endsWith(QLatin1String(".qml"))) {