[Interest] [qtquick] map global position to scene position

Tim Blechmann tim at klingt.org
Tue Jan 21 15:55:26 CET 2014


hi all,

is it possible to map a global position (as in QMouseEvent::globalPos())
to a scene position (as required by QQuickItem::mapFromScene)?

i've tried to use the result of QQuickView::mapFromGlobal, but the
result seems to be broken, as my QQuickView is embedded into a native
Cocoa application using QMacNativeWidget.

is there any other way?

thanks in advance,
tim




More information about the Interest mailing list