[Qt] Lazarus Program crases with QT-binding 2.4

Reinhard Berger geisterfunk at yahoo.de
Mon Aug 29 15:16:49 CEST 2011



--- zeljko <zeljko at holobit.net> schrieb am Mo, 29.8.2011:

Von: zeljko <zeljko at holobit.net>
Betreff: Re: [Qt] Lazarus Program crases with QT-binding 2.4
An: "Items specific to the Qt widget set" <qt at lists.lazarus.freepascal.org>
Datum: Montag, 29. August, 2011 08:34 Uhr



#yiv1769566830 p, #yiv1769566830 li {white-space:pre-wrap;}
On Sunday 28 of August 2011 20:31:37 Reinhard Berger wrote:
> I'm currently using  Qt: 4.7.2 with KDE: 4.7.00 (4.7.0) and the V2,4
> binding i386 interface on a kubuntu system.
> 
> Lazarus programses compiled for Qt works  means starts, but when a
> (native?) KDE directory selection dialog is called from the program it
> crashes.
> 
> This does not happen with V2.1 QT 4.7 enabled interface.
> 
> 
> TApplication.HandleException Access violation
> QWidget::repaint: Recursive repaint detected
> [FORMS.PP] ExceptionOccurred
>   Sender=EAccessViolation
> QPaintDevice: Cannot destroy paint device that is being painted


Such errors comes from sse2/3 code in qt libs and  bindings must be compiled with -mstackrealign.


zeljko

So this binary from V2.4 are not compiled with -mstackrealign. ?
And is it possible to have a QT Binary that works from QT 4.5 until 4.7 ?
At the moment it seems that V2.1 works with all Qt's before 2.7 and the 2.1 compiled for Qt 4.7 ONLY works with Qt4.7 and not 4.6 / 4.5

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20110829/35fb1d01/attachment-0002.html>


More information about the Qt mailing list