diff --git a/qgroundcontrol.pro b/qgroundcontrol.pro index ea26d1328c8985f310da8b213bb7629a5ec30bb1..c601a2b334ac26d00b7997e2134cfc213622aa75 100644 --- a/qgroundcontrol.pro +++ b/qgroundcontrol.pro @@ -146,8 +146,9 @@ WindowsBuild { # Note: -Werror is currently not turned on for Linux due to unfixed problems with release builds. See Issue 535. This will # be removed once the Issue is taken care of. +# Note: -Werror is also not turned on for Mac because Qt Core throws unused variable warnings for Mac from multiple header files. -LinuxBuild { +MacBuild | LinuxBuild { CONFIG += WarningsAsErrorsOff }