Cockatrice/tests/theme_migration
Lukas Brübach ceef749ac3 [Icons] Render authored theme SVG art without the SVG image plugin
`QPixmap("theme:file.svg")` needs Qt's SVG *image-format* plugin. Debian
builds that as the separate `qt6-svg-plugins` package, which is only a
Recommends of `qt6-svg-dev`, so a `--no-install-recommends` install (CI,
minimal user installs) does not have it. Authored theme art then loaded as
a null pixmap: the two authored-art render tests failed on Debian 13 and on
the Ubuntu sanitize leg while passing on a developer machine whose Qt
bundles the format.

Render authored SVG assets through QSvgRenderer instead, which is already
linked for the sentinel path and needs no plugin. Raster assets keep the
QPixmap loader. The test suite now hides the plugin directories, so the
dependency cannot come back unnoticed on platforms that ship the plugin.
2026-11-07 10:43:54 +01:00
..
CMakeLists.txt [Icons] Add a sticker icon treatment 2026-11-07 10:43:54 +01:00
icon_tint_preview_test.cpp [Icons] Render a semantic-tint sheet for every shipped theme 2026-11-07 10:43:49 +01:00
theme_icon_render_test.cpp [Icons] Render authored theme SVG art without the SVG image plugin 2026-11-07 10:43:54 +01:00
theme_migration_test.cpp [Icons] Keep semantic red and green on themed glyphs 2026-11-07 00:12:56 +01:00