Qt 5.0.2 & 5.1.0 Drag and the Drop crash ?
-
Hello,
I've been using Qt for a while and it is great, however I encountered a problem in the newer version.
When I start dragging and drop immediately - application just crashes with an error message "Access violation reading location", I swear I checked everything twice, made a lot if/else for sanity checks, still nothing. (looked into sample code, documentation, everything)
https://creditcardsupportx.com/pep-boys-credit-card
https://creditcardsupportx.com/bobs-furniture-credit-card
https://creditcardsupportx.com/quicklane-credit-card
It crashes before it gets a chance to call dropEvent() function, even though dragEnterEvent() and dragMoveEvent() being called.
What could it be? I have no debugging symbols and call stack is just helpless.
Drag and drop action happens between two QMainWindows that are owned by the main QMainWindow (dragging from QListWidget and dropping to QTableWidget that are inherited by custom classes).
It is crashing in both Debug and Release.P.s. if I wait a little before dropping all seems to be working
thanks
jackyjoy -
Are you sure you mean Qt5.0 and Qt5.1?
Please provide a minimal, compilable example and your OS