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

MyAction stored as QJSValue instead of Object type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • 6.8
    • 6.8
    • QML: Compiler
    • None

      In the provided example the lookup 

      action?.visible

       fails because action is a QJSValue. It should actually be an Object instead.

      This was revealed by https://bugreports.qt.io/browse/QTBUG-121393.

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

            qtqmlteam Qt Qml Team User
            olivier.decanniere Olivier De Cannière
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes