> -----Original Message-----
> Thiago Macieira
> On Friday 05 June 2015 10:10:50 Frederik Gladhorn wrote:
> > -    qreal distanceTo(const QGeoCoordinate &other) const;
> > -    qreal azimuthTo(const QGeoCoordinate &other) const;
> > +    Q_INVOKABLE qreal distanceTo(const QGeoCoordinate &other) const;
> > +    Q_INVOKABLE qreal azimuthTo(const QGeoCoordinate &other) const;
> >
> 
> >From C++, the module looks good.
> 
> >From QML, should there be some Q_REVISION above?

It is not required. The above two functions existed in Qt 5.4 already. We 
merely swap the C++ object handling the QML representation for QGeoCoordinate. 
QGeoCoordinate is the new C++ handler and it needs to make the functionality 
available via Q_INVOKABLE.

--
Alex
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to