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

QVector::toList() example mistake

XMLWordPrintable

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

      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"]

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes