From 8038b0e97ff77e49cb3a31d93e5090cb9b7b3fc9 Mon Sep 17 00:00:00 2001 From: Dave Lane <42013603+ReenigneArcher@users.noreply.github.com> Date: Tue, 3 Nov 2026 07:42:40 -0500 Subject: [PATCH] fix(linux): require Qt 6 platform plugins for Debian tray builds (#6036) --- cmake/packaging/linux.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/packaging/linux.cmake b/cmake/packaging/linux.cmake index 32a7d97c9..8a253a62f 100644 --- a/cmake/packaging/linux.cmake +++ b/cmake/packaging/linux.cmake @@ -164,10 +164,12 @@ if(${SUNSHINE_TRAY} STREQUAL 1) # because Qt6 will not allow icons not part of the theme... so we will use icons from our web directory instead if(SUNSHINE_TRAY_QT_VERSION EQUAL 6) + # Qt loads platform plugins at runtime, so shlibdeps cannot detect this dependency. set(CPACK_DEBIAN_PACKAGE_DEPENDS "\ ${CPACK_DEBIAN_PACKAGE_DEPENDS}, \ libqt6widgets6, \ - libqt6svg6" + libqt6svg6, \ + qt6-qpa-plugins" ) set(CPACK_RPM_PACKAGE_REQUIRES "\ ${CPACK_RPM_PACKAGE_REQUIRES}, \