Apple/macOS: Replace deprecated Q_OS_MAC with Q_OS_APPLE or Q_OS_MACOS


Q_OS_MAC is a deprecated synonym for Q_OS_DARWIN (= Q_OS_APPLE), but
predates Qt's support for iOS and the other Apple platforms. Each
occurrence was reviewed and classified based on whether the guarded
behavior also applies to iOS and other Darwin targets.

Replaced with Q_OS_APPLE:
 - XDG theme icon guards: XDG theme icons are not used on any Apple
   platform, so the negation applies across the board

Replaced with Q_OS_MACOS:
 - Assistant .app bundle path: the MacOS/ directory structure is
   specific to macOS application bundles
 - Window menu (Zoom/Minimize) in Assistant and Linguist: adding a
   macOS-style Window menu is an Aqua HIG convention

Change-Id: Idb2466458be734aa23398db1756ef42a55747072
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
commit07845f4480d93dde80fa15ac5ddf0d64f2d658a8
parent89de6e7f623d7ef473d57f5f2758b38c98417418
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>
commit timeThu, 9 Apr 2026 21:36:46 +0200