aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-02-14 16:04:49 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-02-14 15:25:53 +0000
commit0b191003a0930e10d63dfe3ab69e27974efad6de (patch)
tree957622c5ffe9a0164e1d5f2c82df7ffa8b7f8251 /share
parent091e87799e9bc6b16920a176762f12e9862e4f77 (diff)
Fix detection of static Qt
Amends c4e60ed828. Change-Id: Ied6753def5d5576b35709f6775e2b4148a005b93 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/module-providers/Qt/setup-qt.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/qbs/module-providers/Qt/setup-qt.js b/share/qbs/module-providers/Qt/setup-qt.js
index 0f0755409..d16458e0d 100644
--- a/share/qbs/module-providers/Qt/setup-qt.js
+++ b/share/qbs/module-providers/Qt/setup-qt.js
@@ -515,7 +515,7 @@ function moduleNameWithoutPrefix(modInfo) {
function libraryBaseName(modInfo, qtProps, debugBuild) {
if (modInfo.isPlugin)
- return libBaseName(modInfo, name, debugBuild, qtProps);
+ return libBaseName(modInfo, modInfo.name, debugBuild, qtProps);
// Some modules use a different naming scheme, so it doesn't get boring.
var libNameBroken = modInfo.name === "Enginio"
@@ -1077,7 +1077,7 @@ function allQt5Modules(qtProps) {
moduleInfo.pluginData["extends"] = splitNonEmpty(value, ' ');
for (k = 0; k < moduleInfo.pluginData["extends"].length; ++k) {
if (moduleInfo.pluginData["extends"][k] === "-") {
- moduleInfo.pluginData.splice(k, 1);
+ moduleInfo.pluginData["extends"].splice(k, 1);
moduleInfo.pluginData.autoLoad = false;
break;
}
@@ -1217,7 +1217,7 @@ function defaultQpaPlugin(module, qtProps) {
match = line.match(includeRegexp);
if (match) {
var includedFile = match[1];
- if (!FileInfo.isAbsolute(includedFile)) {
+ if (!FileInfo.isAbsolutePath(includedFile)) {
includedFile = FileInfo.cleanPath(
FileInfo.joinPaths(FileInfo.path(filePath), includedFile));
}