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

Qt Quick emulation layer crashed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 2.3.0
    • Qt Creator 2.2.0
    • Quick Designer
    • None
    • SDKTestRound10
      Workstation platform: Mac OS X 10.6.7
      Qt Creator 2.2.0
      Based on Qt 4.7.4 (64 bit)
      Built on May 25 2011 at 11:25:06
      From revision 0578a566ca

      Steps:
      1. Open the Qt Creator.
      2. Create Project... -> Qt Quick Project -> Qt Quick Application, then default to finish.
      3. Modify the code as follows, taken from the help documents:

      import QtQuick 1.0

      Item {
      id: container
      width: 200; height: 200

      Rectangle

      { id: myRect width: 100; height: 100 color: "red" }

      states: State {
      name: "reanchored"
      AnchorChanges

      { target: myRect; anchors.right: container.right }

      }

      transitions: Transition {
      // smoothly reanchor myRect and move into new position
      AnchorAnimation

      { duration: 1000 }

      }

      Component.onCompleted: container.state = "reanchored"
      }
      4. Run the application, succeed.
      5. Go to design view.

      Expected Result:
      Design view shows correctly and application runs successfully.

      Actual Result:
      "Qt Quick emulation layer crashed" shows.

      Comments:
      This issue can be reproduced in Qt Creator 2.2.81 on MAC.
      Qt Creator 2.2 on Windows works well.

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

            bubke Marco Bubke
            chennyuu Chen Yu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes