Map enableConan in all cases.

This commit is contained in:
Roman Telezhynskyi 2024-03-26 15:08:26 +02:00
parent cb6087a00b
commit fef128d461

View File

@ -42,12 +42,7 @@ Module {
property bool treatWarningsAsErrors: true property bool treatWarningsAsErrors: true
readonly property bool useConanPackages : { readonly property bool useConanPackages : project.enableConan
if (Utilities.versionCompare(Qt.core.version, "6") < 0)
return false;
return project.enableConan;
}
readonly property bool conanXercesEnabled : project.conanWithXerces readonly property bool conanXercesEnabled : project.conanWithXerces
readonly property bool conanCrashReportingEnabled : { readonly property bool conanCrashReportingEnabled : {
if (qbs.targetOS.contains("windows")) { if (qbs.targetOS.contains("windows")) {