qml2puppet: disable multilanguage if Qt version < 6.2.1

Change-Id: I8dc7114ac550e8cc0d5a1f0e5f5524145aa158a3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Tim Jenssen
2022-03-23 10:09:22 +01:00
parent bf2ece2d15
commit faadc86ece

View File

@@ -256,7 +256,7 @@ extend_qtc_executable(qml2puppet
qmlprivategate_56.cpp qmlprivategate.h qmlprivategate_56.cpp qmlprivategate.h
) )
if(DEFINED MULTILANGUAGE_SUPPORT_SUBDIRECTORY) if(DEFINED MULTILANGUAGE_SUPPORT_SUBDIRECTORY AND Qt6_VERSION VERSION_GREATER_EQUAL 6.2.1)
add_subdirectory(${MULTILANGUAGE_SUPPORT_SUBDIRECTORY} multilanguagesupport_static_build) add_subdirectory(${MULTILANGUAGE_SUPPORT_SUBDIRECTORY} multilanguagesupport_static_build)
endif() endif()