aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/bundledqt/bundledqt.qbs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/bundledqt/bundledqt.qbs b/src/shared/bundledqt/bundledqt.qbs
index d10a4e9c5..f36855b02 100644
--- a/src/shared/bundledqt/bundledqt.qbs
+++ b/src/shared/bundledqt/bundledqt.qbs
@@ -9,7 +9,8 @@ Product {
property bool deployQt: qbsbuildconfig.enableBundledQt && qbs.targetOS.contains("macos")
&& Qt.core.qtConfig.contains("rpath")
- property bool deployDebugLibraries: qbs.buildVariants.contains("debug")
+ property bool deployDebugLibraries: qbs.buildVariant === "debug"
+ || (qbs.buildVariants && qbs.buildVariants.contains("debug"))
readonly property string qtDebugLibrarySuffix: {
if (qbs.targetOS.contains("windows"))