Skip to content

Commit 5d0f37a

Browse files
authoredOct 23, 2022
Merge pull request #50664 from m-kuhn/core_no_uitools
2 parents 1dd3e90 + a0b2110 commit 5d0f37a

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed
 

‎CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ if(WITH_CORE)
461461
set (HAVE_QT5SERIALPORT TRUE)
462462
endif()
463463

464-
find_package(${QT_VERSION_BASE} COMPONENTS Core Gui Widgets Network Xml Svg Concurrent Test UiTools Sql REQUIRED)
464+
find_package(${QT_VERSION_BASE} COMPONENTS Core Gui Widgets Network Xml Svg Concurrent Test Sql REQUIRED)
465465
if (BUILD_WITH_QT6)
466466
find_package(${QT_VERSION_BASE} COMPONENTS Core5Compat REQUIRED)
467467
else()

‎src/app/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ if (WITH_3D)
365365
)
366366
endif()
367367

368+
find_package(${QT_VERSION_BASE} COMPONENTS UiTools REQUIRED)
368369

369370
set (WITH_QWTPOLAR FALSE CACHE BOOL "Determines whether QwtPolar should be built")
370371

‎src/gui/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,11 +1370,7 @@ set(QGIS_GUI_PRIVATE_HDRS
13701370
attributetable/qgsfeaturefilterwidget_p.h
13711371
)
13721372

1373-
if (BUILD_WITH_QT6)
1374-
find_package(Qt6 COMPONENTS Qml QuickWidgets REQUIRED)
1375-
else()
1376-
find_package(Qt5 COMPONENTS Qml QuickWidgets REQUIRED)
1377-
endif()
1373+
find_package(${QT_VERSION_BASE} COMPONENTS Qml QuickWidgets UiTools REQUIRED)
13781374

13791375
if(${QT_VERSION_BASE}Qml_FOUND)
13801376
add_definitions(-DWITH_QML)

0 commit comments

Comments
 (0)
Please sign in to comment.