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

    • 0220163ca27c3f97e623591a231473c42b907012

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes