File 0002-set-test-xdg-data-dirs.patch of Package plasma-integration
--- a/qt6/autotests/kdeplatformtheme_unittest.cpp
+++ b/qt6/autotests/kdeplatformtheme_unittest.cpp
@@ -34,3 +34,4 @@
static void prepareEnvironment()
{
+ qputenv("XDG_DATA_DIRS", "/usr/share");
QStandardPaths::setTestModeEnabled(true);