Description
Issue
Some parts of the Qt API have been documented as obsolete for a long time, but were not removed before Qt 6.0.0 was released.
For example, the following 2 pages contain exactly the same list:
QLocale::countriesForLanguage() is another example.
Task
Mark all such API with QT_DEPRECATED_SINCE() , Q_DECL_ENUMERATOR_DEPRECATED, or similar to ensure that these don't make it to Qt 7.
Extra notes
- Initial discussion: https://lists.qt-project.org/pipermail/development/2021-April/041176.html
- One systematic way to do this for class methods is to inspect all the classes listed at https://doc.qt.io/qt-6/obsoleteclasses.html – Compare each class' list of obsolete members against the Qt 5 version of the list.
Attachments
Issue Links
- relates to
-
QTBUG-93998 Documentation: Ensure deprecated APIs are documented as such
-
- Closed
-
-
QTBUG-92481 [QDoc] Warn if a member is marked \obsolete but does not have QT_DEPRECATED_SINCE()
-
- Open
-
There are no Sub-Tasks for this issue.
Gerrit Reviews
For Gerrit Dashboard: QTBUG-92480 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
342281,6 | Revise deprecation of countriesForLanguage() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
343600,2 | Port away from deprecated QMessageBox APIs | dev | qt/qttools | Status: MERGED | +2 | 0 |
343610,3 | Mark obsolete QMessageBox members as deprecated | dev | qt/qtbase | Status: MERGED | +2 | 0 |
343611,3 | Fix call to QMessageBox::information | dev | qt/qtbase | Status: MERGED | +2 | 0 |