mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:31:16 -07:00
Fix build with Qt 6.10
The private parts have been extracted into a separate CMake config file, which we need to search for now See https://bugreports.qt.io/browse/QTBUG-87776
This commit is contained in:
@@ -28,7 +28,9 @@ include(CheckIncludeFile)
|
||||
check_include_file("linux/input.h" HAVE_LINUX_INPUT_H)
|
||||
|
||||
find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS Core DBus Widgets)
|
||||
|
||||
if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0")
|
||||
find_package(Qt6GuiPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
|
||||
endif()
|
||||
find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
|
||||
I18n
|
||||
Config
|
||||
|
||||
Reference in New Issue
Block a user