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

ListElement: cannot use script for property value

    XMLWordPrintable

Details

    • Android
    • cad5c89a0f0ebb24f17171fdbab8355832f0f415

    Description

      import Qt.labs.platform 1.0 as LabsPlatform
      
      ListModel {
      
      id: standardPathsModel
      
      ListElement\{ stdLocation: LabsPlatform.StandardPaths.DesktopLocation }
      
      ListElement\{ stdLocation: LabsPlatform.StandardPaths.DocumentsLocation }
      
      } 
      
      Runtime error as below
      
      ListElement: cannot use script for property value
      

       

       

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            bugman Vico Liang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes