forked from qt-creator/qt-creator
QmlDesigner: fix LESS_EQUAL -> GREATER_EQUAL Qt 6.4.3 check
Change-Id: I4718e1afa555164d1b41e8f577a915d915187e30 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -72,10 +72,10 @@ find_package(Qt6
|
||||
REQUIRED
|
||||
)
|
||||
|
||||
if (Qt6_VERSION VERSION_LESS_EQUAL 6.4.3)
|
||||
option(WITH_QMLDESIGNER "Build QmlDesigner" OFF)
|
||||
else()
|
||||
if (Qt6_VERSION VERSION_GREATER_EQUAL 6.4.3)
|
||||
option(WITH_QMLDESIGNER "Build QmlDesigner" ${ENV_QTC_WITH_QMLDESIGNER})
|
||||
else()
|
||||
option(WITH_QMLDESIGNER "Build QmlDesigner" OFF)
|
||||
endif()
|
||||
add_feature_info("Build QmlDesigner and related code (only if Qt is 6.4.3 or newer)" ${WITH_QMLDESIGNER} "")
|
||||
|
||||
|
Reference in New Issue
Block a user