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

QApplication does not clean up QFontDatabase correctly

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • Not Evaluated
    • None
    • GUI: Font handling
    • None
    • c8d2514347cedbd05f9e11822a9268f32e779dc3

    Description

      in my use case, i need to call QFontDatabase::removeAllApplicationFonts() before destroying the QApplication object, otherwise the next QApplication instance in the same process will crash.

      i'm not sure what is the best solution for this issue in qt, but it might be fine to simply call removeAllApplicationFonts() in ~QApplication.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-40865
          # 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