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

Bug with id naming, state transitions and instructions in "Creating a Qt Quick Application" example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.1.0
    • Qt Creator 2.1.0-beta2
    • None
    • Windows XP Professional, SP 3
    • cbaa4fc969234cda04295c7acd9072694263df18

    Description

      As I am new to QML I decided to try out the "Creating a Qt Quick Application", but totally failed.

      • The first problem I had was with the "Creating the Main View" step 4.1 with giving Id to Rectangle element, which was not possible until I changed it manually in the QML script. Qt Creator simply refused to change the name. The problem occurred only with this element, others worked fine.
      • One big problem/bug I had was with layouts, but that has been already reported in QTCREATORBUG-2963.
      • After finally getting the three buttons visible I found that it is not possible to make the state transitions to work. In the instructions "Adding Views" step 2. user is instructed to drag and drop the user icon on top of middleRightRect, which has no affect on the states. I tried drag and dropping the userIcon from Navigator pane and the icon in the canvas, but nothing happens. When dragging the userIcon from Navigator on top of the middleRightRect in canvas the cursor is changed to forbidden cursor.
      • You could also revise the instructions in the example. I at least assumed that this example should give clear enough instructions so that it is possible to create the application without prior experience about Qt Quick.
      • "Creating the Main View" step 7: says to Drag and drop Rectangle element to the canvas. 1. If you failed to rename the Rectangle in the Navigator pane, you try to drag and drop that. Maybe you should really say to drag and drop the element from the Items pane. Btw. why do you call it an element if it is an item?
      • "Creating the Main View" step 7.8: says to change margin for top anchor, but in the figure above also the left anchor has a changed margin value => one step is missing from instructions.
      • "Creating the Main View" step 9.2: says to open the menu and select Set Expression. The problem here is that it is not said where the menu can be found. I really had some headache before I accidentally found the menu.
      • "Adding Animation to the View" step 2: The same problem as previously; where in earth is the Qt Quick toolbar and where is the lamp icon I should click.
      • "Adding Animation to the View" step 4: the code snippet is missing then ending ']' character.

      Attachments

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

        Activity

          People

            leenam Leena Miettinen
            ssalo S. Salo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes