Bug in Qt 5.12 drag n'drop ?
-
I tried to run your app but I won't let something run as root on my system.
probably the elevated rights are part of the problem?
-
@aha_1980 said in Bug in Qt 5.12 drag n'drop ?:
probably the elevated rights are part of the problem?
Don't think so - it's using a database and the app which creates the schema etc. wants admin rights. After this it looks like the normal application can run without admin rights but did not came that far.
-
@skylendar Thanks, but I don't think I'll debug your program ;)
I have too much of my own problems
-
@skylendar thats why we need a simple program, trimmed down to the actual problem.
Otherwise its hard to track down where the bug is. Until now it is not even proven that Qt is guilty.
-
- Qt is actually a commercial program, and most of you, if not all, are paid for debugging it
Actually this is a user forums and no one here is paid anything to help :)
We are not employees, but ordinary users of Qt.Anyway, i tried some of old drag drop sample with Qt 5.12 and
they seems to work. At least on windows. -
@skylendar said in Bug in Qt 5.12 drag n'drop ?:
And you forget something: Qt is actually a commercial program, and most of you, if not all, are paid for debugging it. Why should I work for you for free ?
If you happen to own a commercial license you should contact the customer support they may be able to help you more directly.
However they also will ask for a minimal compileable project, if your current project is considerably too large.
Alternatively there is also the option of paid consulting either from the QtCompany directly or other companies, like for example KDAB -
@skylendar
Hi
What about test with the sample that comes with Qt ?
http://doc.qt.io/qt-5/dnd.html#examples
There are often directly available in Creator. -
I can drag from my QTreeWidget, but I can't drop anymore my icon onto my QWidget target, whereas it worked in the previous version of qt (5.11).
Everything seems ok, but the dropEvent() method of my QWidget isn't activated (setAcceptDrop() is set to true, of course)
-
@skylendar
Check the
http://doc.qt.io/qt-5/qtwidgets-draganddrop-puzzle-example.html
as it drops from ListWidget to Widget. -
@skylendar said in Bug in Qt 5.12 drag n'drop ?:
The codes are very similar
So you should modify one of them until you hit or fix the problem...