diff options
Diffstat (limited to 'src/location/maps/qgeoroutesegment.h')
-rw-r--r-- | src/location/maps/qgeoroutesegment.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/maps/qgeoroutesegment.h b/src/location/maps/qgeoroutesegment.h index c32f8e92..7ab8a771 100644 --- a/src/location/maps/qgeoroutesegment.h +++ b/src/location/maps/qgeoroutesegment.h @@ -44,6 +44,7 @@ #include <QtCore/QExplicitlySharedDataPointer> #include <QtCore/QList> #include <QtLocation/qlocationglobal.h> +#include <QtQml/qqml.h> QT_BEGIN_NAMESPACE @@ -55,6 +56,7 @@ QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(QGeoRouteSegmentPrivate, Q_LOCA class Q_LOCATION_EXPORT QGeoRouteSegment { Q_GADGET + QML_VALUE_TYPE(routeSegment) Q_PROPERTY(int travelTime READ travelTime CONSTANT) Q_PROPERTY(qreal distance READ distance CONSTANT) |