nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 15 lines 703 B view raw
1--- a/src/macdeployqt/shared/shared.cpp 2+++ b/src/macdeployqt/shared/shared.cpp 3@@ -1241,6 +1241,12 @@ bool deployQmlImports(const QString &appBundlePath, DeploymentInfo deploymentInf 4 if (!QFile(qmlImportScannerPath).exists()) 5 qmlImportScannerPath = QCoreApplication::applicationDirPath() + "/qmlimportscanner"; 6 7+#ifdef NIXPKGS_QMLIMPORTSCANNER 8+ // Fallback: Nixpkgs hardcoded path 9+ if (!QFile(qmlImportScannerPath).exists()) 10+ qmlImportScannerPath = NIXPKGS_QMLIMPORTSCANNER; 11+#endif 12+ 13 // Verify that we found a qmlimportscanner binary 14 if (!QFile(qmlImportScannerPath).exists()) { 15 LogError() << "qmlimportscanner not found at" << qmlImportScannerPath;