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

qmlsc: Use invokable toString() functions for type conversion

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.12
    • None
    • QML: Compiler
    • None

      The example for QTBUG-139463 produces this qmlsc warning:

      Cannot convert from MyStructuredType to QString [compiler]
      

       

      Suggestion
      Let qmlsc automaticaly use the existing Q_INVOKABLE QString toString() const function for this conversion

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

            qtqmlteam Qt Qml Team User
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes