summaryrefslogtreecommitdiffstats
path: root/util/cmake/pro2cmake.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-xutil/cmake/pro2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 8a002244ef..71887bb908 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -1974,7 +1974,7 @@ def write_qml_plugin(cm_fh: typing.IO[str],
if import_name:
extra_lines.append('URI "{}"'.format(import_name))
else:
- uri = re.sub('\\.\\d+\\.', '.',uri)
+ uri = re.sub('\\.\\d+', '', uri)
extra_lines.append('URI "{}"'.format(uri))
import_version = scope.get_string('IMPORT_VERSION')