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

qmlsc doesn't like to compare enums

    XMLWordPrintable

Details

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

    Description

      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
                                              ^^^^^^^^^^^^^^^^^^
       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes