summaryrefslogtreecommitdiff
path: root/qbs-resources/imports
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2021-05-10 12:45:42 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2021-05-10 14:39:33 +0000
commit78b2dad7cbc5c91a481f29155d6ae6d44d17d428 (patch)
tree41c5f642b8b0d90bc8f0311e1040fa306b159140 /qbs-resources/imports
parente71a66701ad6d86711b5396c134c9776972563e7 (diff)
downloadqbs-78b2dad7cbc5c91a481f29155d6ae6d44d17d428.tar.gz
GitHub actions: fix building debug info
This fixes building and arhiving the debug information. We do not build debug info in release build for now to avoid including it in the archive - it should be in a separate archive Change-Id: I01878676190b410b3b76c9bb477dd74bf4cdd767 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'qbs-resources/imports')
-rw-r--r--qbs-resources/imports/QbsApp.qbs2
-rw-r--r--qbs-resources/imports/QbsLibrary.qbs2
2 files changed, 2 insertions, 2 deletions
diff --git a/qbs-resources/imports/QbsApp.qbs b/qbs-resources/imports/QbsApp.qbs
index 5fe32046b..2ddb3cb38 100644
--- a/qbs-resources/imports/QbsApp.qbs
+++ b/qbs-resources/imports/QbsApp.qbs
@@ -10,7 +10,7 @@ QbsProduct {
consoleApplication: true
Group {
fileTagsFilter: product.type
- .concat(qbs.buildVariant === "debug" ? ["debuginfo_app"] : [])
+ .concat(qbs.debugInformation ? ["debuginfo_app"] : [])
qbs.install: true
qbs.installDir: targetInstallDir
qbs.installSourceBase: buildDirectory
diff --git a/qbs-resources/imports/QbsLibrary.qbs b/qbs-resources/imports/QbsLibrary.qbs
index 4923d89c4..f0769dd6c 100644
--- a/qbs-resources/imports/QbsLibrary.qbs
+++ b/qbs-resources/imports/QbsLibrary.qbs
@@ -28,7 +28,7 @@ QbsProduct {
Group {
fileTagsFilter: libType.concat("dynamiclibrary_symlink")
- .concat(qbs.buildVariant === "debug" ? ["debuginfo_dll"] : [])
+ .concat(qbs.debugInformation ? ["debuginfo_dll"] : [])
qbs.install: install
qbs.installDir: targetInstallDir
qbs.installSourceBase: buildDirectory