aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/module-providers/Qt/templates/qml.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/qbs/module-providers/Qt/templates/qml.js')
-rw-r--r--share/qbs/module-providers/Qt/templates/qml.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qbs/module-providers/Qt/templates/qml.js b/share/qbs/module-providers/Qt/templates/qml.js
index 3a86ce695..df69034fe 100644
--- a/share/qbs/module-providers/Qt/templates/qml.js
+++ b/share/qbs/module-providers/Qt/templates/qml.js
@@ -50,14 +50,14 @@ function getLibsForPlugin(pluginData, buildVariant, targetOS, toolchain, qtLibDi
continue;
if (line.startsWith("QMAKE_PRL_TARGET"))
pluginLib = FileInfo.joinPaths(pluginData.path, getPrlRhs(line));
- if (line.startsWith("QMAKE_PRL_LIBS")) {
+ if (line.startsWith("QMAKE_PRL_LIBS = ")) {
var otherLibsLine = ' ' + getPrlRhs(line);
if (toolchain.contains("msvc")) {
otherLibsLine = otherLibsLine.replace(/ -L/g, " /LIBPATH:");
otherLibsLine = otherLibsLine.replace(/-l([^ ]+)/g, "$1" + ".lib");
}
otherLibsLine = otherLibsLine.replace(/\$\$\[QT_INSTALL_LIBS\]/g, qtLibDir);
- otherLibs += otherLibsLine;
+ otherLibs += otherLibsLine + '\n';
}
}
if (!pluginLib)