[SOLVED] Tablet event on Windows7 with Qt 4.8

  • Hi,

    I'm trying to use tablet events for my destop application on Windows7 (pressure and position).
    It work well on linux but on windows the tablet exemple doesn't work (exemple/widgets/tablet).
    It compile and run but nothing is drawn because it doesn't receive any tabletEvent.
    I found others people with the same probleme but I didn't found yet a working solution.
    The most recent information I found is a bug report https://bugreports.qt-project.org/browse/QTBUG-30008. (not mine)
    and this thread http://qt-project.org/forums/viewthread/26401. but nobody give solutions to make it work.
    I test it on Windows7 with QtCreator 2.4.1 and I use the version 4.8.0 of the SDK with MSVC2010.

    So my question is.... Is there a solution to get that tablet exemple to work under Windows? or it's just impossible right now with the actual QtSDK... I read a little about Qt_base and the evdevtouch plugin. It seems that if I compile Qt_base, I will get the necessary plugin but I cannot figure how to build and use it. (I'm not even sure I understand well).

    I'm planning to do it with to separated solution for both linux and windows but I would love to found a cross-platform solution to get pressure data from the tablet. If you know a good one (free for academic use)....

    thank you.

  • I finaly got it to work.
    It wasn't related to Qt. I don't know why but it looks like my wintab32.dll wasn't appropriate. The pen was working with others applications so I wasn't concerned about wintab but it looks like the version I had wasn't right.

    Strangely, re-installing the tablet driver doesn't correct the problem. I had to manually replace the wintab32.dll file from System32 by a new one ( get wacom driver installer (.exe) -> rename as .zip -> open and grab the dll -> put it into system folder)

    thanks to people who read this.

    As usual, I wait one day before to ask and I found the solution 2h after.... Better than the contrary

Log in to reply