forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user