Bri Bri
Bri Bri

Reputation: 2220

Qt multi-touch events not working with magic trackpad in Mac OS X

I just recently started working with Qt 4.7.4 64-bit in order to make some cross-platform multi-touch applications. However, I can’t get Qt's touch events working in Mac OS X.

When I build and run my own application or any of the Qt touch demos, including fingerpaint and knobs, it doesn’t work. No touches I perform on the trackpad, be it a single or multiple touches, does anything in the application; no QTouchEvents are received. I’ve tried on both a Mac Pro with a magic trackpad and a Macbook Air with its build-in multi-touch trackpad, and in both Snow Leopard and Lion.

Qt's documentation doesn't make any mention of these demos, or QTouchEvents in general, not working in OS X, and implies that they do. And in my searches for a solution, I have seen videos of Qt's multi-touch working on Mac OS X, and found other people talking about using it, so there must be some way to get this to work.

Does anyone have any idea what’s going wrong? Thanks in advance!

Upvotes: 0

Views: 1117

Answers (2)

Bri Bri
Bri Bri

Reputation: 2220

For posterity, I solved this by updating to Qt 4.8.0. After doing so multi-touch just started working.

Upvotes: 0

user609455
user609455

Reputation:

Try link Cocoa framework to your application, it can fix some strange behaviour with events on MacOS X.

Upvotes: 0

Related Questions