Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5, 6.6, 6.7
-
None
-
-
e209051ca (dev), ae554adf7 (6.7), a17ebfc63 (6.6), e79cb33c5 (tqtc/lts-6.5)
-
2024wk08FOQtforAndroid
Description
On Android, QPlatformMediaDevices is created before main starts executing. This happens because the onAudioInputDevicesUpdated function in QAndroidmediaDevices is called early at startup, and initializes the QPlatformMediaDevices singleton.
This is a design problem because we end up connecting signals before QCoreApplication has been created, and we don't have a reliable mechanism to make sure events are processed at the expected time.
This prevents implementing fix for QTBUG-121768 and makes tst_qmediadevices more complex than it should be.
Attachments
Issue Links
- relates to
-
QTBUG-121768 Windows Media Foundation is being shut down from static destructors
- Closed