PDA

View Full Version : QDrag - Pixmaps alway cropped



Desperado
29th December 2010, 17:07
Hello folks,

I tried to integrate the 'draggableicons' example into my own application. However, for some reason, once I start dragging one of the images, the pixmap following the cursor is cropped to a size of 60x60 or so, even though the actual image is larger. I use the dragwidget.cpp and dragwidget.h from the example without change.

What seems to make the difference is whether I start up the widget using the QApplication setup from the example or not. If I use it instead of my own code, it works.

Can you guess what might be missing from the QApplication code that crops my pixmaps at rendering?

Thanks a lot

Desperado
30th December 2010, 11:15
After some more tests, I come to the conclusion that it is actually this bug:

http://bugreports.qt.nokia.com/browse/QTBUG-1946

Has anyone ever fixed that?