x29a / qTUIO

Implementation of an interface connecting TUIO messages and QT events
GNU General Public License v3.0
23 stars 11 forks source link

Fingerpaint breaks #5

Closed xlarsx closed 13 years ago

xlarsx commented 13 years ago

Good morning, I have a problem trying to run the demo "fingerpaint" crashes when it receives the first touch event, debugging the system I found that it works if I comment the postEvent call to the viewport (see patch)

But I don't think this is the right solution, how can I fix this problem?

Thank you

P.D. I'm using the Windows Vista operative system

Patch:

diff --git a/src/qtuio.cpp b/src/qtuio.cpp index 3a3ba76..ffd4c2e 100644 --- a/src/qtuio.cpp +++ b/src/qtuio.cpp @@ -207,9 +207,9 @@ bool QTuio::tuioToQt(TUIO::TuioCursor tcur, QEvent::Type eventType) /***

wathek commented 13 years ago

Hi,

I'm going to apply the patch of Fajita that fix this problem give me one moment please

wathek commented 13 years ago

I mean fajran fix not Fajita sorry

wathek commented 13 years ago

Please try the latest git version I've just updated it and tell me if it's OK.

Thank you

xlarsx commented 13 years ago

It works perfect, thank you

Peegee10 commented 13 years ago

There may still be a problem with qTUIO and widgets. I tried to get the dial example to work, but every time I use a TUIO simulator or a tracker like CCV, it crashes. Same goes with a widget user interface I created with QtCreator. Looks like a null pointer exception. All the other examples, that come along with qTUIO are working nicely. Any idea how to fix it?