Skip to content

Commit

Permalink
Qt6 Positioning now available, add
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Nov 8, 2022
1 parent 15aa022 commit 5e43fd8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Expand Up @@ -461,12 +461,9 @@ if(WITH_CORE)
set (HAVE_QT5SERIALPORT TRUE)
endif()

find_package(${QT_VERSION_BASE} COMPONENTS Core Gui Widgets Network Xml Svg Concurrent Test Sql REQUIRED)
find_package(${QT_VERSION_BASE} COMPONENTS Core Gui Widgets Network Xml Svg Concurrent Test Sql Positioning REQUIRED)
if (BUILD_WITH_QT6)
find_package(${QT_VERSION_BASE} COMPONENTS Core5Compat REQUIRED)
else()
# TODO only available starting from Qt 6.2
find_package(${QT_VERSION_BASE} COMPONENTS Positioning)
endif()
if (NOT IOS)
find_package(${QT_VERSION_BASE} COMPONENTS PrintSupport REQUIRED)
Expand Down

0 comments on commit 5e43fd8

Please sign in to comment.