summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-10-09 17:51:23 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-10-14 10:33:20 +0000
commite69d3bca7cea7785a90fa80e5582edc799fe01fa (patch)
treef4ce8902c73571e1705ac44fb0fa7b03143ca6e6
parent6e630cb5c34c582f97bcee028988d042454eb553 (diff)
Qt support: Do not put all the QML plugin list content on one line
Add a newline after each PRL file entry. Otherwise, a line can get longer than 16K characters, which breaks the MSVC linker. Fixes: QBS-1465 Change-Id: Idb1e39aee8c3ae3ad6ea844723253e7d228bd7de Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--share/qbs/module-providers/Qt/templates/qml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/module-providers/Qt/templates/qml.js b/share/qbs/module-providers/Qt/templates/qml.js
index e6b58d6ec..df69034fe 100644
--- a/share/qbs/module-providers/Qt/templates/qml.js
+++ b/share/qbs/module-providers/Qt/templates/qml.js
@@ -57,7 +57,7 @@ function getLibsForPlugin(pluginData, buildVariant, targetOS, toolchain, qtLibDi
otherLibsLine = otherLibsLine.replace(/-l([^ ]+)/g, "$1" + ".lib");
}
otherLibsLine = otherLibsLine.replace(/\$\$\[QT_INSTALL_LIBS\]/g, qtLibDir);
- otherLibs += otherLibsLine;
+ otherLibs += otherLibsLine + '\n';
}
}
if (!pluginLib)