Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
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
- relates to
-
QTBUG-40865 QApplication does not clean up QFontDatabase correctly
- Closed
For Gerrit Dashboard: QTBUG-40861 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
115014,4 | Cleanup fontloader cache when QGuiApplication is destroyed | 5.5 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
126500,1 | Cleanup fontloader cache when QGuiApplication is destroyed | 5.6 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
126501,2 | Cleanup fontloader cache when QGuiApplication is destroyed | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |