blob: 33af3fe9d8ea2d11e281c2fb658c27bea8d8f602 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/qt6/src/platformtheme/kdeplatformtheme.cpp b/qt6/src/platformtheme/kdeplatformtheme.cpp
index fea04b5..7efafd1 100644
--- a/qt6/src/platformtheme/kdeplatformtheme.cpp
+++ b/qt6/src/platformtheme/kdeplatformtheme.cpp
@@ -551,6 +551,7 @@ bool KdePlatformTheme::checkIfThemeExists(const QString &themePath)
// QML_IMPORT_PATH is the new one, but QML2_IMPORT_PATH is still used
checkEnvironmentVariable("QML2_IMPORT_PATH");
checkEnvironmentVariable("QML_IMPORT_PATH");
+ checkEnvironmentVariable("NIXPKGS_QT6_QML_IMPORT_PATH");
for (const QString &path : moduleSearchPaths) {
if (QDir(path + themePath).exists()) {
|