Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124577

Don't use QtGlobalStatic::ApplicationHolder directly in Qt Multimedia

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.8.0 FF
    • None
    • Multimedia
    • None
    • All
    • 2a217aba3 (dev)
    • Multimedia wk 17-18

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            johanseg Jøger Hansegård
            johanseg Jøger Hansegård
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes