qt5base-lts/tests/auto/gui
Eirik Aavitsland f0510d5bd2 Improve support for saving QImage to QSaveFile
When saving to a QIODevice, QImage and QImageWriter will automatically
deduct the file format from the filename if it determines that the
device is a QFile. That did not work for a QSaveFile device. Fix by
using the common ancestor, QFileDevice, in the implementation.

Fixes: QTBUG-89022
Pick-to: 6.2
Change-Id: Ie01d80df4f29ca0d4ff30bf7e1b77605293c070e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-07-14 11:02:25 +00:00
..
image Improve support for saving QImage to QSaveFile 2021-07-14 11:02:25 +00:00
itemmodels QFileSystemModel fails to locate a host from root's visible children 2021-05-20 15:02:38 +00:00
kernel tests: fix deprecated implicit capture of this via [=] 2021-06-30 23:13:28 +02:00
math3d tst_QMatrixNxN: fix type-punning warning 2021-06-30 23:13:28 +02:00
painting QColorTrcLut: hold in shared_ptr 2021-07-12 22:16:41 +02:00
platform Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00
qopengl Block flaky rhi and OpenGL tests on Android 2021-05-30 23:02:53 +02:00
qopenglconfig Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvulkan vulkan: Update legacy tests and examples to the modern validation layer 2021-05-31 17:16:49 +02:00
rhi Prefer QFAIL("Informative message") over QVERIFY(false) 2021-06-14 15:57:16 +02:00
text Avoid overflow in text layout 2021-06-17 09:58:27 +00:00
util QTextureFileData: support key value metadata 2021-02-09 13:39:47 +01:00
CMakeLists.txt Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00