qt6-bb10/tests/auto/gui
Shawn Rutledge f5000beeb6 Fix QTransform::quadToQuad() to work with QRectF
A typical usage for mapping a 4-point polygon to a rectangle might be

  QTransform transform;
  bool ok = QTransform::quadToQuad(polygon, polygon->boundingRect(),
                                   transform);

It works because the QPolygonF(QRectF) ctor is implicitly called on
the second argument; but that ctor turns it into a 5-point polygon.
So it should be legal for QTransform functions to work with 5-point
closed paths.

Fixes: QTBUG-21329
Change-Id: Iae249012e14b8a3e8d3b0dfa35da8f9759359832
Pick-to: 6.5 5.15
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit 48b1af941c50ab28cc92f9ea65a8a74a32eaf2bc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5ead2a3d63a905ed758390e1558dbac744756077)
2025-01-03 05:52:46 +00:00
..
image tst_QImage: fix discarded QFile::open() results 2025-01-01 04:02:36 +00:00
itemmodels QFileSystemModel on Windows: consistently trim spaces and dots 2024-10-29 17:42:12 +00:00
kernel Tests: Reduce the number of module includes 2024-11-04 19:42:27 +00:00
math3d tst_qmatrixnxn: Mark variable as unused to avoid compiler warning 2024-05-29 20:27:18 +02:00
painting Fix QTransform::quadToQuad() to work with QRectF 2025-01-03 05:52:46 +00:00
platform Tests: Reduce the number of module includes 2024-11-04 19:42:27 +00:00
qopengl Change license for tests files 2024-02-04 09:56:42 +01:00
qopenglconfig Change license for tests files 2024-02-04 09:56:42 +01:00
qvulkan Vulkan test: replace QVERIFY with appropriate QCOMPARE 2024-09-23 19:36:54 +00:00
rhi Revert "Skip Vulkan on Android in QRhi autotest" 2024-04-05 20:31:07 +00:00
text test: Fix test for oblique/italic equivalence 2024-11-19 13:06:56 +00:00
util QDesktopServices: clean up pre-Qt-6.6 code 2024-05-15 18:22:39 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00