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

QJsonValueRef: missing toVariant()

XMLWordPrintable

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

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

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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes