Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0 Beta 1
-
None
-
Windows 7, MSVS 2010
-
a0af0fbcd4a41fb7be6abf558296682182cdffa0
Description
#include <QtWidgets/QtWidgets> int main( int argc, char *argv[] ) { QApplication a( argc, argv ); QLabel *l = new QLabel(); l->setPixmap( QPixmap::fromImage( QApplication::clipboard()->image() ) ); l->show(); return a.exec(); }
When I copy image to clipboard from paint, opera or another program or use printscreen button, I have a strange image in pixmap: for copied images they are green, for screenshot it's fully black.
Attachments
Issue Links
- is duplicated by
-
QTBUG-27249 Inserting QImage in QTextEdit from QMimeData inserts it in wrong colors (only green&white) (perhaps qvariant_cast bug)
- Closed