We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d220ef commit 05cc0b6Copy full SHA for 05cc0b6
translations/CMakeLists.txt
@@ -129,7 +129,7 @@ execute_process(
129
COMMAND "${Qt5_LUPDATE_EXECUTABLE}" -version
130
OUTPUT_VARIABLE lupdate_version
131
)
132
-string(REGEX REPLACE "^.*([0-9]\\.[0-9]\\.[0-9]).*" "\\1" lupdate_version "${lupdate_version}")
+string(REGEX REPLACE "^.*([0-9]\\.1?[0-9]\\.[0-9]).*" "\\1" lupdate_version "${lupdate_version}")
133
if(lupdate_version VERSION_LESS 5.6.1)
134
message(AUTHOR_WARNING "lupdate version ${lupdate_version} is less than 5.6.1. Updates disabled.")
135
else()
0 commit comments