Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108687

QList/documentation issues

    XMLWordPrintable

Details

    • All
    • 24da759c3 (6.4), 4f0bd0d4f (6.4), 8aeee132f (6.4)

    Description

      The QList documentation is a bit dated, particularly wrt iteration. When searching , one hits on the QStringList docs

      https://doc.qt.io/qt-6/qstringlist.html#iterating-over-the-strings

      which has some outdated iterator code or index access still using int. This should refer to the QList docs. Range-based for should be mentioned there along with std::as_const. The section "More Information on Using Qt Containers" https://doc.qt.io/qt-6/qlist.html points to https://marcmutz.wordpress.com/effective-qt/containers/ which still refers to Qt 5 (QVector et al).

      Some stuff is also explained at https://doc.qt.io/qt-6/containers.html .

      Looks like the QStringList doc page is an orphaned, un-indexed page since QStringList is now a typedef?

      Attachments

        For Gerrit Dashboard: QTBUG-108687
        # Subject Branch Project Status CR V

        Activity

          People

            cnn Qt Core & Network
            kleint Friedemann Kleint
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: