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. QML MultiTouch - TouchArea

QML MultiTouch - TouchArea

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 5.0k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    metRo_
    wrote on last edited by
    #1

    Hi,
    I'm trying to use multitouch but without success :s I have already read this too http://developer.qt.nokia.com/forums/viewthread/7700

    When i run it gives:

    bq. Starting C:\Users\ze\Documents\QtProjects\untitled7\debug\untitled7.exe...
    file:///C:/Users/ze/Documents/QtProjects/untitled7/qml/TouchTest/main.qml:2:1: module "Qt.labs.toucharea" is not installed
    import Qt.labs.toucharea 1.0
    ^

    but i have the qmltouchareaplugind.dll here C:\QtSDK\Desktop\Qt\4.7.4\mingw\imports\Qt\labs\toucharea and C:\QtSDK\Simulator\Qt\mingw\imports\Qt\labs\toucharea

    I'm usign windows 7 64bits with Qt Creator 2.4.0 based on Qt 4.7.4

    Thanks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aabc
      wrote on last edited by
      #2

      I think that TouchArea is deprecated

      1 Reply Last reply
      0
      • M Offline
        M Offline
        metRo_
        wrote on last edited by
        #3

        [quote author="aabc" date="1337526731"]I think that TouchArea is deprecated[/quote]
        DO you know any alternative to do that?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alexleutgoeb
          wrote on last edited by
          #4

          What are you trying to achieve / what's your desired use case for multi touch?

          I'm currently playing around with PinchArea which allows you to use at least 2 touch points within a defined area.

          Regarding the TouchAreas item: If the instructions from the other thread do not help you can also try to include the sources in your project directly and register the new item with qmlRegisterType manually.

          Alex

          1 Reply Last reply
          0
          • M Offline
            M Offline
            metRo_
            wrote on last edited by
            #5

            [quote author="alexleutgoeb" date="1337615822"]What are you trying to achieve / what's your desired use case for multi touch?[/quote]

            Is for a joystick http://talk.maemo.org/showthread.php?t=84019 that I have starded design in QML but because the problems with multi-touch I changed to QGraphicsView. Need to try again with QML.

            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