From e69d3bca7cea7785a90fa80e5582edc799fe01fa Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 9 Oct 2019 17:51:23 +0200 Subject: 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 --- share/qbs/module-providers/Qt/templates/qml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3