diff --git a/src/graph.h b/src/graph.h index 44fe5f5e..ed9efa67 100644 --- a/src/graph.h +++ b/src/graph.h @@ -29,4 +29,6 @@ private: typedef QVector Graph; +Q_DECLARE_TYPEINFO(GraphPoint, Q_PRIMITIVE_TYPE); + #endif // GRAPH_H diff --git a/src/trackpoint.h b/src/trackpoint.h index aa8de9e0..9f9df632 100644 --- a/src/trackpoint.h +++ b/src/trackpoint.h @@ -46,4 +46,6 @@ private: QDebug operator<<(QDebug dbg, const Trackpoint &trackpoint); +Q_DECLARE_TYPEINFO(Trackpoint, Q_MOVABLE_TYPE); + #endif // TRACKPOINT_H diff --git a/src/waypoint.h b/src/waypoint.h index 80d90fda..8d545974 100644 --- a/src/waypoint.h +++ b/src/waypoint.h @@ -50,4 +50,6 @@ inline uint qHash(const Waypoint &key) QDebug operator<<(QDebug dbg, const Waypoint &Waypoint); +Q_DECLARE_TYPEINFO(Waypoint, Q_MOVABLE_TYPE); + #endif // WAYPOINT_H