qt_common: fix building with Qt 6.10
All checks were successful
eden-license / license-header (pull_request) Successful in 28s

Qt old style include variables are deprecated in Qt, see
<https://github.com/qt/qtbase/blob/v6.10.0/cmake/QtModuleConfig.cmake.in#L84>,
and Qt 6.10 stopped exporting them after
<ad7b94e163>.

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin 2025-10-10 20:02:55 +02:00
parent 776958c79d
commit c6d4785711
Signed by: marcin-serwin
GPG key ID: DACFAC4EA0B194E0

View file

@ -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()