[Qt-interest] Non-blocking windows drag-n-drop

Ross Bencina rossb-lists at audiomulch.com
Fri Aug 21 07:39:07 CEST 2009


Hi Aron

I agree the documentation looks like a problem but I'm doing drag-n-drop 
into a QGraphicsView on Windows using QDrag::exec() and there is no problem 
with updating/redrawing QGraphicsItems while dragging. Also I have other 
QTimer based animation in my QGraphicsView which updates while dragging. I'm 
still using 4.4.3 so perhaps this has changed in 4.5?

Perhaps the cause of your problems is not QDrag at all? Does your code work 
ok on other platforms?

Ross.


----- Original Message ----- 
From: "Aron Bierbaum" <aronbierbaum at gmail.com>
To: <qt-interest at trolltech.com>
Sent: Friday, August 21, 2009 9:19 AM
Subject: [Qt-interest] Non-blocking windows drag-n-drop


> It appears that there is a limitation on Windows where all drag-n-drop
> operations in Qt are blocking. [1] Is there any known way to get
> around this? I would like to update the target QGraphicsItem when
> hovering over it. This does not seem to work because the widgets are
> not getting rendered. Any ideas on how to work around this?
>
> Thanks,
> Aron
>
>
> [1] http://doc.trolltech.com/4.5/qdrag.html#exec
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest 




More information about the Qt-interest-old mailing list