Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.0.0 RC
-
None
-
5ea1f403502130ed12f6f6a2c6072f4f45e3d488 (qt/qtbase/dev)
Description
As per API review comment at https://codereview.qt-project.org/c/qt/qtbase/+/312852/3/src/gui/text/qfontdatabase.h
QFontDatabase is now just a bunch of static methods and enums. It could just as well be a namespace, but that would break a lot of code that instantiates QFontDatbase today.
As a first step, deprecate the constructor, cleanup the code in Qt to call methods as static members.
Attachments
For Gerrit Dashboard: QTBUG-88114 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
320077,3 | Get rid of all instance usage of QFontDatabase | dev | qt/qttools | Status: MERGED | +2 | 0 |
320078,3 | Get rid of all instance usage of QFontDatabase | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
320079,1 | Get rid of all instance usage of QFontDatabase | dev | qt/qtquickcontrols2 | Status: ABANDONED | 0 | 0 |
320080,1 | Get rid of all instance usage of QFontDatabase | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
320082,2 | Get rid of all instance usage of QFontDatabase | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
320083,3 | Get rid of all instance usage of QFontDatabase | dev | qt/qtbase | Status: MERGED | +2 | 0 |
320084,5 | Deprecate QFontDatabase constructor | dev | qt/qtbase | Status: MERGED | +2 | 0 |
320151,1 | Deprecate QFontDatabase::QFontDatabase() | dev | qt/qtbase | Status: ABANDONED | +2 | 0 |