fix(linux): require Qt 6 platform plugins for Debian tray builds (#6036)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-11-03 07:42:40 -05:00
1 parent 8952d44b52
commit 8038b0e97f
1 file changed
+3 -1
+3 -1
View File
@@ -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}, \