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(',')
}
installDebugInformation: qbs.buildVariant !== "release" || buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
installDebugInformation: qbs.buildVariant !== "release" || (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
Properties {
condition: !qbs.targetOS.contains("macos") || (qbs.targetOS.contains("macos") && !buildconfig.enableMultiBundle)
@ -45,8 +45,5 @@ VLib {
installDir: buildconfig.installLibraryPath
}
Properties {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
qbs.debugInformation: true
}
cpp.debugInformation: qbs.buildVariant !== "release" || (buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)
}

View File

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