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

QML cannot handle "as string"

    XMLWordPrintable

Details

    • 846134c7a (dev)

    Description

      Consider:

      pragma ValueTypeBehavior: Addressable
      import QtQml 2.15
      QtObject {
          objectName: "Hello World" as string
      } 
      

      The objectName becomes "null" with 6.7. With current dev it works.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes