nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 13 lines 706 B view raw
1--- a/src/tools/macdeployqt/shared/shared.cpp 2+++ b/src/tools/macdeployqt/shared/shared.cpp 3@@ -1280,6 +1280,10 @@ bool deployQmlImports(const QString &appBundlePath, DeploymentInfo deploymentInf 4 if (!QFile::exists(qmlImportScannerPath)) 5 qmlImportScannerPath = QCoreApplication::applicationDirPath() + "/qmlimportscanner"; 6 7+ // Fallback: Pass qml import scanner via environment variable 8+ if (!QFile::exists(qmlImportScannerPath)) 9+ qmlImportScannerPath = ::qgetenv("NIX_QMLIMPORTSCANNER"); 10+ 11 // Verify that we found a qmlimportscanner binary 12 if (!QFile::exists(qmlImportScannerPath)) { 13 LogError() << "qmlimportscanner not found at" << qmlImportScannerPath;