Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
4.7.3, 4.8.x, 6.7
-
None
-
48b1af941 (dev), 5ead2a3d6 (6.9), f5000beeb (6.8), 79debe2f2 (tqtc/lts-6.5), f91669320 (tqtc/lts-5.15)
Description
The following code:
QTransform result;
qDebug() << QTransform::quadToQuad(QRectF(0,0,1,1), QRectF(0,0,1,1), result);
outputs "false".
The reason is that QPolygonF::QPolygonF(const QRectF&) creates a polygon with 5 points, repeating the first, and quadToQuad only accepts polygons with four points.
You can work around it by creating the polygons yourself, but that is significantly more verbose.
Attachments
Issue Links
- relates to
-
QTBUG-127723 tst_QSvgRenderer::testFeFlood() failed on Ubuntu 24.04 X11 and offscreen
-
- Closed
-
-
QTBUG-130999 does qt support this quadtoquad transform
-
- Reported
-