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

QVector::toList() example mistake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.15.12
    • 5.12.8
    • Documentation
    • None
    • ab4f1d0489 (qt/tqtc-qtbase/5.15)

    Description

      QList<T> QVector::toList() const
      Returns a QList object with the data contained in this QVector.
      Example:

      QVector<double> vect;
      vect << "red" << "green" << "blue" << "black";

      QList<double> list = vect.toList();
      // list: ["red", "green", "blue", "black"]

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            sparrow sparrow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes