From d3fbfd5ee7f88b9daace41b3932eb83943e9ed2a Mon Sep 17 00:00:00 2001 From: Friedemann Kleint <Friedemann.Kleint@qt.io> Date: Mon, 19 Mar 2018 10:00:04 +0100 Subject: [PATCH] QDeclarativeGeoWaypoint: Declare QQmlParserStatus interface Fix warning: declarativemaps\qdeclarativegeoroutemodel_p.h(270): Warning: Class QDeclarativeGeoWaypoint implements the interface QQmlParserStatus but does not list it in Q_INTERFACES. qobject_cast to QQmlParserStatus will not work! Change-Id: I3e9d8e6a68a5bb644a9d6ded8982daffaf985c53 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> --- src/location/declarativemaps/qdeclarativegeoroutemodel_p.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel_p.h b/src/location/declarativemaps/qdeclarativegeoroutemodel_p.h index b8c2e84d9..64c1ebf84 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutemodel_p.h +++ b/src/location/declarativemaps/qdeclarativegeoroutemodel_p.h @@ -203,6 +203,7 @@ class Q_LOCATION_PRIVATE_EXPORT QDeclarativeGeoWaypoint : public QGeoCoordinateO Q_PROPERTY(QVariantMap metadata READ metadata) Q_PROPERTY(QQmlListProperty<QObject> quickChildren READ declarativeChildren DESIGNABLE false) Q_CLASSINFO("DefaultProperty", "quickChildren") + Q_INTERFACES(QQmlParserStatus) public: QDeclarativeGeoWaypoint(QObject *parent = 0); -- GitLab