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

The ability to declare enumerations in QML doesn't work with Ahead-of-Time compilation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.11.1
    • 5.11.0
    • QML: Compiler
    • None
    • Arch Linux
    • 1aecb24682075cbb99f21a367c399387b12257d0

    Description

      Just see the application output of the attached project (qml-enumerations.zip):

      qrc:/MyText.qml:12: TypeError: Cannot read property 'Heading' of undefined
      qrc:/MyText.qml:11: TypeError: Cannot read property 'Heading' of undefined
      qrc:/MyText.qml:9: TypeError: Cannot read property 'Normal' of undefined

      If the qtquickcompiler option isn't specified, there aren't any errors.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            renom renom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes