diff --git a/src/libs/aggregation/aggregation.qbs b/src/libs/aggregation/aggregation.qbs index 9edc3f45f95..1c817669958 100644 --- a/src/libs/aggregation/aggregation.qbs +++ b/src/libs/aggregation/aggregation.qbs @@ -8,6 +8,7 @@ QtcLibrary { ".", ".." ] + cpp.defines: base.concat("AGGREGATION_LIBRARY") Depends { name: "cpp" } Depends { name: "Qt.core" } diff --git a/src/libs/zeroconf/zeroconf.qbs b/src/libs/zeroconf/zeroconf.qbs index 3da7b7a61b2..fcc98878a15 100644 --- a/src/libs/zeroconf/zeroconf.qbs +++ b/src/libs/zeroconf/zeroconf.qbs @@ -8,6 +8,8 @@ QtcLibrary { Depends { name: "Qt.network" } cpp.includePaths: "." + cpp.defines: base.concat("ZEROCONF_LIBRARY") + Properties { condition: qbs.targetOS == "windows" cpp.dynamicLibraries: "ws2_32"