diff options
Diffstat (limited to 'src/location/maps/qgeoroute.h')
-rw-r--r-- | src/location/maps/qgeoroute.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/location/maps/qgeoroute.h b/src/location/maps/qgeoroute.h index 3450af25..e9a9041a 100644 --- a/src/location/maps/qgeoroute.h +++ b/src/location/maps/qgeoroute.h @@ -59,7 +59,8 @@ QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(QGeoRoutePrivate, Q_LOCATION_EX class Q_LOCATION_EXPORT QGeoRoute { Q_GADGET - QML_NAMED_ELEMENT(route) + QML_VALUE_TYPE(route) + QML_STRUCTURED_VALUE Q_PROPERTY(QGeoRectangle bounds READ bounds CONSTANT) Q_PROPERTY(int travelTime READ travelTime CONSTANT) |