Do not exit if qmlimportscanner is not found

This commit is contained in:
probonopd
2017-05-26 01:50:34 +02:00
committed by GitHub
parent 1c852a19ae
commit 195b793686
+2 -2
View File
@@ -1282,8 +1282,8 @@ bool deployQmlImports(const QString &appDirPath, DeploymentInfo deploymentInfo,
// Verify that we found a qmlimportscanner binary // Verify that we found a qmlimportscanner binary
if (!QFile(qmlImportScannerPath).exists()) { if (!QFile(qmlImportScannerPath).exists()) {
LogError() << "qmlimportscanner not found at" << qmlImportScannerPath; LogError() << "qmlimportscanner not found at" << qmlImportScannerPath;
LogError() << "Rebuild qtdeclarative/tools/qmlimportscanner"; LogError() << "Please install it if you want to bundle QML based applications.";
return false; return true;
} }
// build argument list for qmlimportsanner: "-rootPath foo/ -rootPath bar/ -importPath path/to/qt/qml" // build argument list for qmlimportsanner: "-rootPath foo/ -rootPath bar/ -importPath path/to/qt/qml"