Android: Append .exe suffix to qmlImportScanner in androiddeployqt
Change-Id: I9d67d94eb9c19b36075311ddee20c972a645d28d Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
a0195a5bea
commit
47ae99a07a
@ -1792,14 +1792,13 @@ bool scanImports(Options *options, QSet<QString> *usedDependencies)
|
||||
fprintf(stdout, "Scanning for QML imports.\n");
|
||||
|
||||
QString qmlImportScanner;
|
||||
if (!options->qmlImportScannerBinaryPath.isEmpty()) {
|
||||
if (!options->qmlImportScannerBinaryPath.isEmpty())
|
||||
qmlImportScanner = options->qmlImportScannerBinaryPath;
|
||||
} else {
|
||||
else
|
||||
qmlImportScanner = options->qtInstallDirectory + QLatin1String("/bin/qmlimportscanner");
|
||||
#if defined(Q_OS_WIN32)
|
||||
qmlImportScanner += QLatin1String(".exe");
|
||||
qmlImportScanner += QLatin1String(".exe");
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!QFile::exists(qmlImportScanner)) {
|
||||
fprintf(stderr, "qmlimportscanner not found: %s\n", qPrintable(qmlImportScanner));
|
||||
|
Loading…
x
Reference in New Issue
Block a user