Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to enable multi-touch in QML ?
QtWS25 Last Chance

How to enable multi-touch in QML ?

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 2 Posters 2.7k Views
  • 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.
  • S Offline
    S Offline
    sibislaw2
    wrote on last edited by
    #1

    How to enable multi touch in QML ? I have 2 buttons, and i simply want to push them at the same time.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sibislaw2
      wrote on last edited by
      #2

      I will precise my question - i have two MouseArea regions, and i want to handle them parralely, at the same time. So i want to use one this region with left hand, and other by right hand by the same time using multitouch screen. How to do that ?

      1 Reply Last reply
      0
      • X Offline
        X Offline
        Xander84
        wrote on last edited by
        #3

        I don't think you can do that as of Qt 5.3, only a MultiPointTouchArea supports multi touch as far as I know.. :/

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sibislaw2
          wrote on last edited by
          #4

          Eh, but MultiPointTouchArea dont work with mouse. Any other possibility ? Writing custom object in C++ ?

          1 Reply Last reply
          0
          • X Offline
            X Offline
            Xander84
            wrote on last edited by
            #5

            Wait what mouse, how can you have a multi touch/click with your mouse? You only have one mouse cursor!? I have not seen any system where you can have more than one mouse cursor at the same time :D
            That said I don't know what you want to archive, but yeah you can use raw mouse or touch events and do your own c++ class of course.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sibislaw2
              wrote on last edited by
              #6

              I have system, portable computer, with mouse and touch screen. And i want both to work simultanouesly. In addition, i want to same code without modifications work on tablet with linux (not android) with multitouch screen.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved