aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml.pro
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-03-21 11:26:00 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2018-03-21 13:31:31 +0000
commitbfab67e51e9c030a24a59754842b7f96d6ff77c3 (patch)
tree28127791ff3080b640aa8ba11209544249c25d99 /src/qml/qml.pro
parent74e0f2573decb90d3e5b143abe9b20bc8a5f08a7 (diff)
parent089e5f7822e6d64e8e5864806929d29fd735fb0d (diff)
Merge "Merge remote-tracking branch 'origin/5.11' into dev" into refs/staging/dev
Diffstat (limited to 'src/qml/qml.pro')
-rw-r--r--src/qml/qml.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml.pro b/src/qml/qml.pro
index eabca59836..940ebb3257 100644
--- a/src/qml/qml.pro
+++ b/src/qml/qml.pro
@@ -36,7 +36,8 @@ DEFINES += QT_NO_FOREACH
}
compile_hash_contents = \
"// Generated file, DO NOT EDIT" \
- "$${LITERAL_HASH}define QML_COMPILE_HASH \"$$QML_COMPILE_HASH\""
+ "$${LITERAL_HASH}define QML_COMPILE_HASH \"$$QML_COMPILE_HASH\"" \
+ "$${LITERAL_HASH}define QML_COMPILE_HASH_LENGTH $$str_size($$QML_COMPILE_HASH)"
write_file("$$OUT_PWD/qml_compile_hash_p.h", compile_hash_contents)|error()
}