Hello,
I have a problem with touch coordinates for the QEvent::TouchBegin (QEvent::TouchEnd and Update is ok) I.e.:
Qt Code:
const QList<QTouchEvent::TouchPoint> touchPoints = static_cast<QTouchEvent *>(e)->touchPoints(); touchPoints.first().pos().x // <- == 0To copy to clipboard, switch view to plain text mode
give X always 0, Y is ok.
Any one knows the reason?
Bookmarks