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

Timer in qml file is not filtered anymore and let the puppet crashing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 4.1.0-rc1
    • Qt Creator 4.0.0-beta1
    • Quick Designer
    • None

      This following simple code was working in older versions and is now crashing the puppet.

      import QtQuick 2.5
      import QtQuick.Controls 1.4
      
      ApplicationWindow {
          id: applicationWindow1
          visible: true
          width: 640
          height: 480
          title: qsTr("Testing")
      
          Timer{
              id:testiTimer
              interval: 1500; running: true; repeat: true
              onTriggered: {
                  console.log("message")
              }
          }
      
          Rectangle {
              id: testRectangle1
              width: 383
              height: 86
              color: "#c2c2c2"
          }
      }
      

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

            tjenssen Tim Jenssen
            tjenssen Tim Jenssen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes