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.