From c6d4785711091e76dc57e45c4c76ee6c1a59db3e Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Fri, 10 Oct 2025 20:02:55 +0200 Subject: [PATCH] qt_common: fix building with Qt 6.10 Qt old style include variables are deprecated in Qt, see , and Qt 6.10 stopped exporting them after . Signed-off-by: Marcin Serwin --- src/qt_common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt_common/CMakeLists.txt b/src/qt_common/CMakeLists.txt index aa931f113e..72e2eee393 100644 --- a/src/qt_common/CMakeLists.txt +++ b/src/qt_common/CMakeLists.txt @@ -46,5 +46,5 @@ if (NOT APPLE AND ENABLE_OPENGL) endif() if (NOT WIN32) - target_include_directories(qt_common PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS}) + target_link_libraries(qt_common PRIVATE Qt6::GuiPrivate) endif()