diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2021-04-09 16:08:14 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2021-04-12 09:26:15 +0000 |
commit | bf0a3750e0845eeba3814a4f16c20d112181e280 (patch) | |
tree | 2b60efefa5da909caa945b90dad84b2186e4fccc /share/qbs/module-providers/Qt/templates/qml.qbs | |
parent | c3e10d620124f18452f0f059d3f3d2a4a7c632ae (diff) | |
download | qbs-bf0a3750e0845eeba3814a4f16c20d112181e280.tar.gz |
Qt support: Fix possible command line length issue with qmlimportscanner
When there's a lot of QML files, we can hit the dreaded Windows limit for
maximum command line length. Detect this condition and call the tool
repeatedly if necessary.
Fixes: QBS-1633
Change-Id: I20d123d6184eab08c5fa280a7c4811a753275f1f
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'share/qbs/module-providers/Qt/templates/qml.qbs')
-rw-r--r-- | share/qbs/module-providers/Qt/templates/qml.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/module-providers/Qt/templates/qml.qbs b/share/qbs/module-providers/Qt/templates/qml.qbs index f608ba4dd..af7b0fb5f 100644 --- a/share/qbs/module-providers/Qt/templates/qml.qbs +++ b/share/qbs/module-providers/Qt/templates/qml.qbs @@ -144,7 +144,7 @@ QtModule { qmlInputs = []; var scannerData = Qml.scannerData(product.Qt.qml.qmlImportScannerFilePath, qmlInputs.map(function(inp) { return inp.filePath; }), - product.Qt.qml.qmlPath); + product.Qt.qml.qmlPath, product.qbs.targetOS); var cppFile; var listFile; try { |