Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
4.6.2
-
None
-
Linux
-
ada9dd41c83aad3890b8f01a98fdbeae04528eba
Description
Currently, it seems there is no way to simulate drag events with QTest. I have tried a combination of QTest::mousePress followed by QTest::mouseMove, as well as attempting to make QMouseEvents manually and send them with QApplication::sendEvent(). Because of this, I'm unable to test drag and drop functionality.
This may be the same problem as QTBUG-5232, that the widget never receives the mouse move event, and thus never starts the drag action.