Apple: Replace deprecated Q_OS_MAC with Q_OS_APPLE


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. The
USE_SHARED_CONTEXT exclusion applies to all Apple platforms, which
manage OpenGL state differently and require glstatestore instead.

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