Reformat pro2cmake
Change-Id: I97175e8edbd4b911397f5b03a646006eff32a5bc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Qt CMake Build Bot
This commit is contained in:
parent
f67d8ae2d4
commit
604aa83ad9
@ -3541,10 +3541,8 @@ def handle_app_or_lib(
|
|||||||
|
|
||||||
install_dir = scope.expandString("QMLTYPES_INSTALL_DIR")
|
install_dir = scope.expandString("QMLTYPES_INSTALL_DIR")
|
||||||
if install_dir:
|
if install_dir:
|
||||||
install_dir = install_dir.replace(
|
install_dir = install_dir.replace("$$[QT_INSTALL_QML]", "${Qt6_DIR}/../../../qml")
|
||||||
"$$[QT_INSTALL_QML]","${Qt6_DIR}/../../../qml"
|
cm_fh.write(f'{spaces(indent+1)}QT_QML_MODULE_INSTALL_DIR "{install_dir}"\n')
|
||||||
)
|
|
||||||
cm_fh.write(f"{spaces(indent+1)}QT_QML_MODULE_INSTALL_DIR \"{install_dir}\"\n")
|
|
||||||
|
|
||||||
cm_fh.write(f"{spaces(indent)})\n\n")
|
cm_fh.write(f"{spaces(indent)})\n\n")
|
||||||
cm_fh.write(f"qt6_qml_type_registration({target})\n")
|
cm_fh.write(f"qt6_qml_type_registration({target})\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user