File fix-library-link.patch of Package qt5integration

diff -Nur qt5integration-5.6.20/platformthemeplugin/CMakeLists.txt qt5integration-5.6.20-new/platformthemeplugin/CMakeLists.txt
--- qt5integration-5.6.20/platformthemeplugin/CMakeLists.txt	2023-12-19 14:53:16.000000000 +0800
+++ qt5integration-5.6.20-new/platformthemeplugin/CMakeLists.txt	2024-01-06 21:25:40.693862517 +0800
@@ -27,7 +27,7 @@
     list(APPEND QT_LIBS Qt6::GuiPrivate)
 endif()
 find_package(PkgConfig REQUIRED)
-pkg_check_modules(Deps REQUIRED IMPORTED_TARGET mtdev)
+pkg_check_modules(Deps REQUIRED IMPORTED_TARGET mtdev x11)
 if(ENABLE_QT_XDG_ICON_LOADER)
     set(DEFS -DXDG_ICON_VERSION_MAR=${XDG_ICON_VERSION_MAJOR})
 endif()
openSUSE Build Service is sponsored by