Important: Please read the Qt Code of Conduct -

QML MultiTouch - TouchArea

  • Hi,
    I'm trying to use multitouch but without success :s I have already read this too

    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


  • I think that TouchArea is deprecated

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

  • 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.


  • [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 that I have starded design in QML but because the problems with multi-touch I changed to QGraphicsView. Need to try again with QML.

Log in to reply