31 lines
858 B
Diff
31 lines
858 B
Diff
Description: Fix Qt 6.10 compatibility
|
|
Origin: https://github.com/lxqt/libqtxdg/commit/49e563dff04d1cb55124e566ebeeb8bb121ad15a
|
|
Last-Update: 2026-02-19
|
|
---
|
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
--- a/util/CMakeLists.txt
|
|
+++ b/util/CMakeLists.txt
|
|
@@ -20,10 +20,6 @@ target_include_directories(qtxdg-desktop
|
|
PRIVATE "${PROJECT_SOURCE_DIR}/qtxdg"
|
|
)
|
|
|
|
-target_include_directories(qtxdg-iconfinder
|
|
- PRIVATE "${Qt6Gui_PRIVATE_INCLUDE_DIRS}"
|
|
-)
|
|
-
|
|
target_compile_definitions(qtxdg-desktop-file-start
|
|
PRIVATE
|
|
"-DQTXDG_VERSION=\"${QTXDG_VERSION_STRING}\""
|
|
@@ -41,7 +37,10 @@ target_link_libraries(qtxdg-desktop-file
|
|
)
|
|
|
|
target_link_libraries(qtxdg-iconfinder
|
|
- ${QTXDGX_ICONLOADER_LIBRARY_NAME}
|
|
+ PRIVATE
|
|
+ Qt6::GuiPrivate
|
|
+ PUBLIC
|
|
+ ${QTXDGX_ICONLOADER_LIBRARY_NAME}
|
|
)
|
|
|
|
install(TARGETS
|