diff --git a/src/libs/ifc/ifc.qbs b/src/libs/ifc/ifc.qbs index 096d3109c..6f0c63609 100644 --- a/src/libs/ifc/ifc.qbs +++ b/src/libs/ifc/ifc.qbs @@ -11,12 +11,12 @@ VLib { Depends { name: "xerces-c" - condition: !buildconfig.useConanPackages + condition: Utilities.versionCompare(Qt.core.version, "6") >= 0 && !buildconfig.useConanPackages } Depends { name: "conan.XercesC" - condition: buildconfig.useConanPackages + condition: Utilities.versionCompare(Qt.core.version, "6") >= 0 && buildconfig.useConanPackages } Properties {