I was playing around with drag and drop, and I noticed that when I dragged files in from Windows Explorer, I would see dragEnterEvent() firing, but not dropEvent(). It works fine when I drag in text from Notepad2 or Word.
I tried to follow the directions from here: http://doc.trolltech.com/4.5/dnd.html#dropping. Basically, I subclassed a QTextEdit. I call setAcceptDrops( true ) in the constructor. dragEnterEvent() unconditionally calls acceptProposedAction() and accept() (I wasn't sure if both were needed or not). dropEvent() is never called.
I see the same behavior on Windows 7 and Windows XP Pro.
Am I missing something? I attached the full source from my Qt Creator project (Qt SDK 2009.03.01).
Bookmarks