File 0003-Migrate-immodule-probing-also-to-GuiPrivate-target.patch of Package fcitx5-qt

From 1d07f7e8d6a7ae8651eda658f87ab0c9df08bef4 Mon Sep 17 00:00:00 2001
From: Weng Xuetian <wengxt@gmail.com>
Date: Wed, 1 Oct 2025 23:37:51 -0700
Subject: [PATCH 3/3] Migrate immodule probing also to GuiPrivate target

---
 qt6/immodule-probing/CMakeLists.txt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/qt6/immodule-probing/CMakeLists.txt b/qt6/immodule-probing/CMakeLists.txt
index efa5e4b..a586140 100644
--- a/qt6/immodule-probing/CMakeLists.txt
+++ b/qt6/immodule-probing/CMakeLists.txt
@@ -1,5 +1,4 @@
 add_executable(fcitx5-qt6-immodule-probing main.cpp)
-target_include_directories(fcitx5-qt6-immodule-probing PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
-target_link_libraries(fcitx5-qt6-immodule-probing Qt6::Gui)
+target_link_libraries(fcitx5-qt6-immodule-probing Qt6::Gui Qt6::GuiPrivate)
 
-install(TARGETS fcitx5-qt6-immodule-probing DESTINATION "${CMAKE_INSTALL_BINDIR}")
\ No newline at end of file
+install(TARGETS fcitx5-qt6-immodule-probing DESTINATION "${CMAKE_INSTALL_BINDIR}")
-- 
2.51.0

openSUSE Build Service is sponsored by