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

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

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 6.8.0 FF
    • None
    • Multimedia
    • None
    • All
    • 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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes