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

qmlsc: QUrl does not compile in console.log()

    XMLWordPrintable

Details

    • 1a8911a13 (dev), e899a765b (6.6), 2a23634b2 (tqtc/lts-6.5), e18bd73c4 (tqtc/lts-6.2)

    Description

      To reproduce, run attached example.

      quickcmake_Main_qml.cpp:264: error: request for member ‘toString’ in ‘(QUrl*)(* argumentsPtr)’, which is of pointer type ‘QUrl*’ (maybe you meant to use ‘->’ ?)
      quickcmake_Main_qml.cpp:264:53: error: request for member ‘toString’ in ‘(QUrl*)(* argumentsPtr)’, which is of pointer type ‘QUrl*’ (maybe you meant to use ‘->’ ?)
        264 | QString r6_0 = *static_cast<QUrl*>(argumentsPtr[0]).toString();
            |                                                     ^~~~~~~~
      

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: