Use MediaIntegration::setBackend in Q_ENABLE_MOCK_MULTIMEDIA_PLUGIN


Setting environment variables at runtime can be unreliable. This patch
makes us set the mock backend using the new
QPlatformMediaIntegration::setBackend() method instead of setting the
environment variable.

Pick-to: 6.12
Change-Id: Ibed0bd3ccb28f407aa7d35c6a36f0d167e271b13
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit6cdbd57e0a2663aada1c5a1a52357ead68ab04a9
parent13f3755c3022426a9f6b58cc18d647ea97be68b6
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeTue, 11 Aug 2026 12:26:29 +0000