QbsProjectManager: Link qbsqtprofilesetup in the "external qbs" case.

We forgot to add this library there when we introduced it.

Change-Id: Id7a0693235a133cd4c96bd0e582e984efa6bdab2
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
This commit is contained in:
Christian Kandeler
2014-06-19 16:08:37 +02:00
parent a0ca5f645d
commit a791e851a7

View File

@@ -14,15 +14,13 @@ QtcPlugin {
var libs = [] var libs = []
if (!project.useExternalQbs) if (!project.useExternalQbs)
return libs; return libs;
var suffix = "";
if (qbs.targetOS.contains("windows")) { if (qbs.targetOS.contains("windows")) {
libs.push("shell32") libs.push("shell32")
if (qbs.enableDebugCode) if (qbs.enableDebugCode)
libs.push("qbscored") suffix = "d";
else
libs.push("qbscore")
} else {
libs.push("qbscore")
} }
libs.push("qbscore" + suffix, "qbsqtprofilesetup" + suffix);
return libs return libs
} }