Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
-
2a217aba3 (dev)
-
Multimedia wk 17-18
Description
QPlatformMediaIntegration::instance() uses QtGlobalStatic::ApplicationHolder to implement functionality similar to Q_APPLICATION_STATIC. The goal is to tie object lifetime to an application if it exists, but fall back to behave as a Q_GLOBAL_STATIC if it no qt application object exists.
However, since QtGlobalStatic::ApplicationHolder is an implementation detail of Q_APPLICATION_STATIC, we should not use QtGlobalStatic::ApplicationHolder in user code
Attachments
Issue Links
- relates to
-
QTBUG-120198 Process abruptly terminates while executing static destructor in Qt6Multimedia.dll
-
- Closed
-
-
QTBUG-124578 Make Q_APPLICATION_STATIC behave more friendly when no qt application object exists
-
- Reported
-