Lazarus

Programming => Widgetset => QT => Topic started by: Ocye on May 20, 2012, 10:30:19 pm

Title: Scrambled dragimage
Post by: Ocye on May 20, 2012, 10:30:19 pm
My program makes use of dragimages. The code works well for Windows and Linux (both Gtk2 and Qt) but not with Qt on Darwin. I fiddled around with drawing (visible on/off, cursor on/off) but nothing helps, the dragimage is still shown scrambled. Sometimes it works as expected but mostly not. I checked image generation and transfer to the imagelist, both are okay. At the moment I have no idea what could be wrong.
Actually, a small test program runs perfectly but my program has a lot of code around the mouse down event so I don't know what happens. Seems Darwin does not forgive any mistake.
Any suggestion?
TinyPortal © 2005-2018