Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Tablet event on Windows7 with Qt 4.8
QtWS25 Last Chance

[SOLVED] Tablet event on Windows7 with Qt 4.8

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.1k 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.
  • A Offline
    A Offline
    ArseneHick
    wrote on last edited by
    #1

    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.

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

      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

      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