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

QtObject{} Crashes QtC Designer: "Qt Quick Emulation Crashed"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 3.2.0, Qt Creator 3.2.1
    • Quick Designer
    • Linux 32bit, Kubuntu 14.04, Current Qt 5.3.1 release (Using Mainteinance Tool)
    • 2bd550f3fdc6c89774d5221aabf9bd5e0f79244c

    Description

      Use the following code, switch to Designer, crash the QML puppet.

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          menuBar: MenuBar {
              Menu {
                  title: qsTr("File")
                  MenuItem {
                      text: qsTr("Exit")
                      onTriggered: Qt.quit();
                  }
              }
          }
      
          Text {
              text: qsTr("Hello World")
              anchors.centerIn: parent
          }
          QtObject{
              id: cartesian
              property point  center: Qt.point(20,20)       
              property rect spaceRect: Qt.rect(0,0., 1., 1.)
              property color  gridColor1: "#333333"
          }
      }
      

      See: http://youtu.be/NUq3rRSlIHU

      27/Sept/2014: https://www.youtube.com/watch?v=Nmbcb8hvvBE

      Attachments

        1. branch.jpg
          branch.jpg
          360 kB
        2. gitpull-cherry.jpg
          gitpull-cherry.jpg
          136 kB
        3. QtObjectCrash.jpg
          QtObjectCrash.jpg
          280 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tjenssen Tim Jenssen
            desert Ariel Molina R.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes