Talei
1st January 2014, 22:35
Hello,
I have a problem with touch coordinates for the QEvent::TouchBegin (QEvent::TouchEnd and Update is ok) I.e.:
const QList<QTouchEvent::TouchPoint> touchPoints = static_cast<QTouchEvent *>(e)->touchPoints();
touchPoints.first().pos().x // <- == 0
give X always 0, Y is ok.
Any one knows the reason?
I have a problem with touch coordinates for the QEvent::TouchBegin (QEvent::TouchEnd and Update is ok) I.e.:
const QList<QTouchEvent::TouchPoint> touchPoints = static_cast<QTouchEvent *>(e)->touchPoints();
touchPoints.first().pos().x // <- == 0
give X always 0, Y is ok.
Any one knows the reason?