fix(ui): Add SVG support and fallback icons for Surprise Me button

Added Qt6::Svg to CMake configuration and implemented fallback
icon chain.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2026-02-01 14:13:51 +10:00
parent 5c5baf69e2
commit 6a9c5f39e4
3 changed files with 14 additions and 3 deletions

View File

@@ -567,7 +567,7 @@ endif()
function(set_citron_qt_components)
# Best practice is to ask for all components at once, so they are from the same version
set(CITRON_QT_COMPONENTS2 Core Widgets Concurrent)
set(CITRON_QT_COMPONENTS2 Core Widgets Concurrent Svg)
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
list(APPEND CITRON_QT_COMPONENTS2 DBus GuiPrivate)
endif()