Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44481

Qt 5.4/Blackberry/Qnx: Mouse events not working in Qml

    XMLWordPrintable

Details

    • QNX

    Description

      Mouse events do not work in Qml in Qt 5.4. They work fine in Qt 5.1.1.

      Sample:

      import QtQuick 2.0
      import QtQuick.Window 2.0

      import QtQuick.Controls 1.0

      ApplicationWindow {
      visible: true

      Rectangle {
      anchors.centerIn: parent
      width: 360
      height: 360

      color: "blue"

      MouseArea {
      id: mouseArea
      anchors.fill: parent

      onClicked:

      Unknown macro: { console.log("TEST"); }

      }
      }
      }

      Attachments

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

        Activity

          People

            vminenko Vladimir Minenko
            DanielSt Peter Staab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes