Fix generating debug information.

This commit is contained in:
Roman Telezhynskyi 2024-03-26 10:27:57 +02:00
parent 88951bbb0a
commit 3320a27268
2 changed files with 4 additions and 10 deletions

View File

@ -37,7 +37,7 @@ VLib {
windeployqt.languages: i18nconfig.qtTranslationLocales.join(',') windeployqt.languages: i18nconfig.qtTranslationLocales.join(',')
} }
installDebugInformation: qbs.buildVariant !== "release" || buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled installDebugInformation: qbs.buildVariant !== "release" || (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
Properties { Properties {
condition: !qbs.targetOS.contains("macos") || (qbs.targetOS.contains("macos") && !buildconfig.enableMultiBundle) condition: !qbs.targetOS.contains("macos") || (qbs.targetOS.contains("macos") && !buildconfig.enableMultiBundle)
@ -45,8 +45,5 @@ VLib {
installDir: buildconfig.installLibraryPath installDir: buildconfig.installLibraryPath
} }
Properties { cpp.debugInformation: qbs.buildVariant !== "release" || (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
qbs.debugInformation: true
}
} }

View File

@ -12,7 +12,7 @@ VApp {
version: buildconfig.projectVersion version: buildconfig.projectVersion
install: true install: true
installDir: buildconfig.installBinaryPath installDir: buildconfig.installBinaryPath
installDebugInformation: qbs.buildVariant !== "release" || buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled installDebugInformation: qbs.buildVariant !== "release" || (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
consoleApplication: false consoleApplication: false
property bool primaryApp: false property bool primaryApp: false
@ -33,10 +33,7 @@ VApp {
cpp.dynamicLibraries: ["icudata", "icui18n", "icuuc"] cpp.dynamicLibraries: ["icudata", "icui18n", "icuuc"]
} }
Properties { cpp.debugInformation: qbs.buildVariant !== "release" || (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
qbs.debugInformation: true
}
Group { Group {
name: "Translations" name: "Translations"