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

QJsonValueRef: missing toVariant()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.4.0
    • Core: Other
    • None

    Description

      QJsonValueRef lacks the toVariant function of QJsonValue.
      Thus the following code does not compile.

      QJsonArray array;
      for (auto it: array) {
         QVariant foo = it.toVariant();
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            laknoll Lars Knoll
            martinpley Martin Pley
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes