Details
-
Technical task
-
Resolution: Done
-
Not Evaluated
-
None
-
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
- relates to
-
QTBUG-40861 QQuickFontLoaderPrivate uses static objects, which is not cleaned up when destroying the QApplication
- Closed
For Gerrit Dashboard: QTBUG-40865 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
93395,2 | QGuiApplication: clear font database on cleanup | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |
94216,1 | QGuiApplication: clear font database on cleanup | 5.3.2 | qt/qtbase | Status: ABANDONED | -1 | 0 |
94402,1 | QGuiApplication: clear font database on cleanup | 5.4 | qt/qtbase | Status: ABANDONED | -1 | 0 |