i am trying to build a painter using Qt so i can run it on my nokia 5800 ... However, i can't find a way to use the touch input with the widget!

all i want to do is this:
tap a "pixel"
get x,y coordinates
drawLine 0,0 to x,y

I cant get the touch input, and it is honestly depressing me! i tried QMouseEvent, but it always returned 11,11 , which i suppose are the x and y of the widget's upper left corner!

i am really late on my project, any help would be appreciated