Hi there,

in Qt Location, there's the QGeoPositionInfo 
class<http://doc.qt.io/qt-5/qgeopositioninfo.html> for storing geo positions.
There's also the Position QML 
type<http://doc.qt.io/qt-5/qml-qtpositioning-position.html> with a matching 
interface to do the same in QML.

However, I haven't had success trying to expose a QGeoPosition object as 
Q_PROPERTY. In QML, the type will be reported as QVariant, and I cannot access 
any properties.

What is the supposed way to use QGeoPositionInfo in QML? There's 
QDeclarativePosition, but it's private.

Thanks and best regards,
Julius


Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to