From 6e630cb5c34c582f97bcee028988d042454eb553 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 9 Oct 2019 17:36:05 +0200 Subject: Qt support: Fix reading plugin prl files Amends 8c290c624d. Change-Id: I9b08b921a46ac56239dd7934f8c3aa9addf70d52 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 3a86ce695..e6b58d6ec 100644 --- a/share/qbs/module-providers/Qt/templates/qml.js +++ b/share/qbs/module-providers/Qt/templates/qml.js @@ -50,7 +50,7 @@ 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:"); -- cgit v1.2.3