diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-10-21 21:25:37 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-22 14:20:05 +0000 |
commit | 0fe38384bdec8d612056371b94509dec1239183f (patch) | |
tree | a76d7ccea66187779e74f69a36855894d7147a11 | |
parent | 8113282582d5bc56115be9cdd970100238cbfaf1 (diff) | |
download | qttools-0fe38384bdec8d612056371b94509dec1239183f.tar.gz |
macdeployqt: don’t stop qmlimportscanner after 30s
Process::waitForFinished() has a default timeout of
30 seconds, but qmlimportscanner can in some cases
run for longer than that.
Fixes: QTBUG-97104
Change-Id: Ie40d052ad6a4dc8643860163eb9a0c8f5859c3ae
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 2e1cca4bb6051067c031c4b9b248b99acd63369a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/macdeployqt/shared/shared.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macdeployqt/shared/shared.cpp b/src/macdeployqt/shared/shared.cpp index d4a5ee263..52597209d 100644 --- a/src/macdeployqt/shared/shared.cpp +++ b/src/macdeployqt/shared/shared.cpp @@ -1289,7 +1289,7 @@ bool deployQmlImports(const QString &appBundlePath, DeploymentInfo deploymentInf LogError() << "Could not start qmlimpoortscanner. Process error is" << qmlImportScanner.errorString(); return false; } - qmlImportScanner.waitForFinished(); + qmlImportScanner.waitForFinished(-1); // log qmlimportscanner errors qmlImportScanner.setReadChannel(QProcess::StandardError); |