Lazarus

Programming => Widgetset => QT => Topic started by: Raul_ES on March 27, 2020, 01:12:40 am

Title: QT5 bug?
Post 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,
Title: Re: QT5 bug?
Post by: dbannon on March 27, 2020, 05:40:36 am
My Qt5 app displays hints with out any problems.  Not doing anything special.

Can you make a small app that demonstrates the problem ?

Davo



Title: Re: QT5 bug?
Post by: zeljko on March 27, 2020, 09:55:09 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,

That problem is fixed in current lazarus trunk.
Title: Re: QT5 bug?
Post by: zeljko on March 27, 2020, 10:46:31 am
https://bugs.freepascal.org/view.php?id=36773
Title: Re: QT5 bug?
Post by: dbannon on March 29, 2020, 07:24:49 am
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
Title: Re: QT5 bug?
Post by: zeljko on March 29, 2020, 10:01:18 am
@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).
Title: Re: QT5 bug?
Post by: dbannon on March 29, 2020, 11:23:20 am
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
Title: Re: QT5 bug?
Post by: JuhaManninen on March 29, 2020, 11:39:08 am
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.
TinyPortal © 2005-2018