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

qmlsc doesn't like to compare enums

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.4.0 Beta1
    • QML: Compiler
    • All

      Error: Main.qml:123:41: Could not compile binding for columns: Cannot generate efficient code for content pointer of non-QVariant wrapper type double of QQuickScreenInfo::primaryOrientation with type Qt::ScreenOrientation
                              columns: Screen.primaryOrientation === Qt.PortraitOrientation ? 1 : 2
                                              ^^^^^^^^^^^^^^^^^^
       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes