Lazarus
Programming => Widgetset => QT => Topic started by: Raul_ES on March 27, 2020, 01:12:40 am
-
Hello,
I am testing Lazarus/Codetyphon compiled for QT5 under gnu/linux. QT4 and GTK2 works fine but I've noticed that under QT5, whenever a hint box is going to be displayed, the application complains and shows an access violation message, without showind the expected hint. This problem can be observed within the IDE i.e placing the mouse over a tool bar button and in compiled applications. This weird behaivour is not present in QT4. Any clue? some one else has the same problem?
regards,
-
My Qt5 app displays hints with out any problems. Not doing anything special.
Can you make a small app that demonstrates the problem ?
Davo
-
Hello,
I am testing Lazarus/Codetyphon compiled for QT5 under gnu/linux. QT4 and GTK2 works fine but I've noticed that under QT5, whenever a hint box is going to be displayed, the application complains and shows an access violation message, without showind the expected hint. This problem can be observed within the IDE i.e placing the mouse over a tool bar button and in compiled applications. This weird behaivour is not present in QT4. Any clue? some one else has the same problem?
regards,
That problem is fixed in current lazarus trunk.
-
https://bugs.freepascal.org/view.php?id=36773
-
OK, thats quite specific, you have to showmodal a windows that displays a hint and then close that, then try and show a hint in another window.
So, yes, it does show up in if you do that. Is it going to be pushed to Lazarus Fixes at some stage ? Its not there yet .....
Davo
-
@dbannon, I don't have plan to merge it into fixes since I hope that new release branch will be opened soon (as soon as 3.2.0 is out).
-
Hmm, is that a good idea ?
Says Marcov in https://forum.lazarus.freepascal.org/index.php/topic,42265.msg354802.html#msg354802 about FPC320 :
"A rc1 will be released very shortly. Final Release date is to be determined, but probably not that soon."
Is this something we can patch our own versions ?
Davo
-
Is this something we can patch our own versions ?
For you especially I would recommend Lazarus trunk. It has many improvements for QT5 and GTK3 bindings and other stuff.
You have participated in its development and my intuition says you will continue. Lazarus trunk is stable and good most of the time.