Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-3347

QML visual designer error: Invalid Id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 2.2.0
    • Qt Creator 2.1.0-beta2
    • Quick Designer
    • None
    • Windows 7

      I have the following qml code which is running great in qml viewer but when I want to see how is looking in Qt quick designer I receive an error:
      Internal error: Invalid Id:list Only alphanumeric characters and underscored allowed.

      I've attached a screen shot.

      Qt creator version: 2.0.94

      import Qt 4.7
      
      Rectangle {
          id:someRectangle
          width: 640
          height: 480
      
      
      
          ListView {
              id: list
              width: 180; height: 200
              model: ContactModel {}
              delegate: Text { text: name }
      
              highlight: highlight
              highlightFollowsCurrentItem: false
              focus: true
          }
      
      
      }
      
      

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

            thohartm Thomas Hartmann
            2beers Doua Beri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes