Details

    • Type: Technical task
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Fix Version/s: 6.5
    • Component/s: QML: Compiler
    • Labels:
    • Platform/s:
      All

      Description

      I have a QObject-based class with this property:

          Q_PROPERTY(QVariantMap about READ about CONSTANT) 

      which always contains the key header. Accessing values in this map from QML gives this qmllint warning:

      Warning: Test.qml:30:47: Property "header" not found on type "QVariantMap"
                          text: BS.BrickStore.about.header
                                                    ^^^^^^ 

      I also tried about["header"], but this results in the same warning.

       

        Attachments

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

          Activity

            People

            Assignee:
            qtqmlteam Qt Qml Team User
            Reporter:
            rgriebl Robert Griebl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes