Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.4
-
None
-
-
8cb78647e3 (qt/qtbase/dev) 8cb78647e3 (qt/tqtc-qtbase/dev) 8edb27d7df (qt/qtbase/6.4) 8edb27d7df (qt/tqtc-qtbase/6.4) 8edb27d7df (qt/tqtc-qtbase/6.4.0) 6d3f165c9f (qt/tqtc-qtbase/6.2)
Description
Image from QClipboard will lose alpha.
In 5.15.2
auto image = QGuiApplication::clipboard()->image();
image.format() will be QImage::Format_ARGB32.
but in 6.2.4 format will be QImage::Format_RGB32.
So Image will fill with #ffffff in background.