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.