diff --git a/src/libs/vtools/tools/drawTools/operation/vtoolmove.cpp b/src/libs/vtools/tools/drawTools/operation/vtoolmove.cpp index 89ede153e..0baa8253a 100644 --- a/src/libs/vtools/tools/drawTools/operation/vtoolmove.cpp +++ b/src/libs/vtools/tools/drawTools/operation/vtoolmove.cpp @@ -101,8 +101,18 @@ QPointF GetOriginPoint(const QVector objects, const VContainer *data, q case GOType::SplinePath: case GOType::CubicBezier: case GOType::CubicBezierPath: + { +#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0) originObjects.append(data->GeometricObject(id)->GetPoints()); +#else + const QVector points = data->GeometricObject(id)->GetPoints(); + foreach (const QPointF &point, points) + { + originObjects.append(point); + } +#endif // QT_VERSION >= QT_VERSION_CHECK(5, 5, 0) break; + } case GOType::Unknown: case GOType::PlaceLabel: Q_UNREACHABLE();