aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/shared/bundledqt/bundledqt.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/bundledqt/bundledqt.qbs b/src/shared/bundledqt/bundledqt.qbs
index 434fc10fd..8c90dbbea 100644
--- a/src/shared/bundledqt/bundledqt.qbs
+++ b/src/shared/bundledqt/bundledqt.qbs
@@ -32,6 +32,8 @@ Product {
name: "Qt libraries"
files: !Qt.core.staticBuild ? Array.prototype.concat.apply(
[], Object.getOwnPropertyNames(Qt).map(function(mod) {
+ if (!Qt[mod].hasLibrary)
+ return [];
var fp = Qt[mod].libFilePathRelease;
var fpd = Qt.core.frameworkBuild ? fp + qtDebugLibrarySuffix : Qt[mod].libFilePathDebug;