Darwin backend: Disable nullability warnings for Obj-C in unity builds


By default, the Objective-C compiler emits warnings about nullability
markers for pointer-type parameters. It also emits warnings for C++ code
in the Objective-C files during unity builds, because while some files
have nullability markers, the entire translation unit does not. This
change disables the warnings when doing unity builds.

Pick-to: 6.12
Change-Id: I4bee3ba911b8d12bb61eb1ecf905a93f36008f12
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commita7926a7fd9f4925ffc8e09e084cebe1fd405e42d
parentd41694e3795f9bfc75d0d554df30edc22ab4bf92
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeWed, 9 Sep 2026 12:16:35 +0000