Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45770 Plugin reloading
  3. QTBUG-40861

QQuickFontLoaderPrivate uses static objects, which is not cleaned up when destroying the QApplication

    XMLWordPrintable

Details

    • 0220163ca27c3f97e623591a231473c42b907012

    Description

      in my use case, i need to create QApplication objects after destroying older QApplication objects: only one instance exists at a time, but it can be destroyed and re-created. however QQuickFontLoaderPrivate::fonts is a static variable, which is not cleaned up when the QApplication is destroyed.

      steps to reproduce:
      1. create QApplication
      2. create QQuickView with a scene, loading a font
      3. destroy the QApplication
      4. create a new QApplication
      5. create QQuickView with a scene, loading a font

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-40861
          # Subject Branch Project Status CR V

          Activity

            People

              jolind Jorgen Lind
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes