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

component scope is not right

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • Qt Creator 2.1.0
    • Qt Creator 2.1.0
    • Quick / QML Support
    • None
    • Qt sdk tp
      windows xp sp3

    Description

      root element's properties are not directly accessible.
      below script raised a error: Can't find variable: title.

       Item {
           property string title
      
           Text {
               id: titleElement
               text: "<b>" + title + "</b>"
               font.pixelSize: 22
               anchors.top: parent.top
           }
       }
      

      Attachments

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

        Activity

          People

            owerfeldt Carsten Owerfeldt
            wzm wangzm
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes