diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index f2d5c7562d..06141cf69e 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -3904,6 +3904,11 @@ def write_plugin(cm_fh, scope, *, indent: int = 0) -> str: extra.append(f'INSTALL_DIRECTORY "{target_path}"') else: extra.append("SKIP_INSTALL") + + past_major_versions = scope.expandString("QML_PAST_MAJOR_VERSIONS") + if past_major_versions: + extra.append(f"PAST_MAJOR_VERSIONS {past_major_versions}") + if "qmltypes" in scope.get("CONFIG"): extra.append("GENERATE_QMLTYPES") |