The most basic use of QFont, indeed the first usage example in QFont doc itself is the constructor taking a family name:
QFont f("Times", 10);
Now in https://codereview.qt-project.org/c/qt/qtbase/+/318013 that constructor was marked as "obsolete" (?!), but now after [https://codereview.qt-project.org/c/qt/qtbase/+/354366] it generates deprecation warnings.
This is a very widely used constructor, there are very many usages in Qt's own docs, examples and autotests - are you really, really sure that deprecation is the best solution?
|For Gerrit Dashboard: QTBUG-95441|
|363953,2||Undeprecate QFont(QString) since this is still useful for many||dev||qt/qtbase||Status: MERGED||+2||0|
|364150,2||Undeprecate QFont(QString) since this is still useful for many||6.2||qt/qtbase||Status: MERGED||+2||0|