[SailfishDevel] (QtLocation 5.0) Coordinate is not a type
Aaron McCarthy
aaron.mccarthy at jolla.com
Thu Nov 21 01:46:41 UTC 2013
On Wed, 20 Nov 2013 10:52:29 christopher.lamb at thurweb.ch wrote:
> Having had a closer look at the Positioning sources, I think
> positioning.cpp is missing a line like:
>
> qmlRegisterType<QDeclarativeCoordinate >(uri, major, minor,
> "Coordinate");
>
> Where would be the best place to report this as a bug?
That is not a bug. There is no such class QDeclarativeCoordinate. Coordinates
in QML are no longer QObject derived types (as they were in Qt Mobility),
instead they are value types. See http://doc-snapshot.qt-project.org/qt5-stable/coordinate.html for documentation on how to use this type in QML.
Cheers,
--
Aaron McCarthy
More information about the Devel
mailing list