pro2cmake: Support QML_PAST_MAJOR_VERSIONS
Change-Id: I47504d6c032c9a6ace7440580f0081cc5f254038 Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
ca59c20939
commit
83982ac1c5
@ -4182,6 +4182,11 @@ def handle_app_or_lib(
|
||||
if import_version:
|
||||
cm_fh.write(f"{spaces(indent+1)}QT_QML_MODULE_VERSION {import_version}\n")
|
||||
|
||||
past_major_versions = scope.expandString("QML_PAST_MAJOR_VERSIONS")
|
||||
if past_major_versions:
|
||||
cm_fh.write(f"{spaces(indent+1)}QT_QML_PAST_MAJOR_VERSIONS {past_major_versions}\n")
|
||||
|
||||
|
||||
import_name = scope.expandString("QML_IMPORT_NAME")
|
||||
if import_name:
|
||||
cm_fh.write(f"{spaces(indent+1)}QT_QML_MODULE_URI {import_name}\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user