Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 12 lines 658 B view raw
1diff --git a/qt6/src/platformtheme/kdeplatformtheme.cpp b/qt6/src/platformtheme/kdeplatformtheme.cpp 2index fea04b5..7efafd1 100644 3--- a/qt6/src/platformtheme/kdeplatformtheme.cpp 4+++ b/qt6/src/platformtheme/kdeplatformtheme.cpp 5@@ -551,6 +551,7 @@ bool KdePlatformTheme::checkIfThemeExists(const QString &themePath) 6 // QML_IMPORT_PATH is the new one, but QML2_IMPORT_PATH is still used 7 checkEnvironmentVariable("QML2_IMPORT_PATH"); 8 checkEnvironmentVariable("QML_IMPORT_PATH"); 9+ checkEnvironmentVariable("NIXPKGS_QT6_QML_IMPORT_PATH"); 10 11 for (const QString &path : moduleSearchPaths) { 12 if (QDir(path + themePath).exists()) {