How can I do drag and drop from QT app to TCL app.
-
I have two different application one in QT and another one in Tcl . I have launched Tcl application through QT application. Now my application needs to do drag and drop from QT to TCL. I am able to do D&D in QT application but inter platform D&D is not working. Please help
-
Hi and welcome to devnet,
Disclaimer: I don't know tcl
Based on the Drag and Drop chapter in Qt's documentation, I would say that you need to somehow enable MIME support for the DnD operations in your tcl application.
Hope it helps
-
Hi,
I have enabled the MIME support in my TCL application, but when I am trying to drag some text from QT window and tried to drop into my tcl application neither the mouse cursor is changing it to dropable nor the drop is happening. I am using QT 4.6.2 release. I have found that a bug (QTBUG 27366) is filled which is fixed in 500_beta release.Please let me know will I get the expected behavior with qt 4.6.2 release.
Thanks
Gaurav -
From what you are saying, you don't seem to start dragging anything from the Qt application.
Have a look at the Drag & Drop chapter to learn how to do that.
-
Hi,
The dragging from QT application is working fine. If I take the mouse cursor outside the QT application then the cursor changes to non droppable but it remains dropable when I hover on the QT application.Regards
Gaurav -
The change to non droppable is normal, until you get to something that might accept the dragged object
-
Hi,
What do I do to make the non droppable to droppable. {e.g non droppable is TCL GUI and droppable is QT GUI}.
Let say if I want to drop draggable object from QT GUI to terminal then What do I do?Regards
Gaurav -
Check that TCL and Qt uses the same technology for drag & drop