Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Simultaneously touch two MouseAreas issue

    QML and Qt Quick
    2
    2
    782
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nan3113 last edited by

      when I simultaneously touch two MouseAreas, no signals(for example, onPressed, onReleased) of these two MouseAreas is emitted, according to the time you touch the two MouseAreas, sometimes signals are emitted, sometimes no signals. what should i do to make them behave normally?

      1 Reply Last reply Reply Quote 0
      • T
        tomma last edited by

        MouseArea is not suitable for multitouch. They only handle mouse events.
        Try "MultiPointTouchArea":http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-multipointtoucharea.html for touch events. There is also "TouchArea":http://qt.gitorious.org/qt-labs/qml-toucharea/ for Quick1

        1 Reply Last reply Reply Quote 0
        • First post
          Last post