Qt: Add ThemeSVGIconEngine to replace use of Qt SVG

Uses plutosvg to render icons with a different colour scheme dependent
on the text colour. No more duplicating all the icons.
This commit is contained in:
Stenzek
2026-05-26 22:11:14 +10:00
parent 68da2ea9f5
commit 4cf5f38a8c
11 changed files with 527 additions and 9 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ for i in $(find "$DEPSDIR" -iname '*.so'); do
done
echo "Running linuxdeploy to create AppDir..."
EXTRA_QT_MODULES="core;gui;svg;widgets;xcbqpa;waylandcompositor" \
EXTRA_QT_MODULES="core;gui;widgets;xcbqpa;waylandcompositor" \
EXTRA_PLATFORM_PLUGINS="libqwayland.so" \
DEPLOY_PLATFORM_THEMES="1" \
LINUXDEPLOY_EXCLUDED_LIBRARIES="libwayland-cursor*;libwayland-egl*" \
-2
View File
@@ -177,14 +177,12 @@ declare -a QTLIBS=(
"libQt6DBus.so.6"
"libQt6Gui.so.6"
"libQt6OpenGL.so.6"
"libQt6Svg.so.6"
"libQt6WaylandClient.so.6"
"libQt6Widgets.so.6"
"libQt6XcbQpa.so.6"
)
declare -a QTPLUGINS=(
"plugins/iconengines"
"plugins/imageformats"
"plugins/platforminputcontexts"
"plugins/platforms"