Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2011-08

Lazarus Program crases with QT-binding 2.4

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinhard Berger

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

Reply by email

zeljko
to Reinhard Berger
Reinhard Berger wrote 15 lines
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20110829/c25368b3/attachment.html>

Reply by email

Reinhard Berger
to zeljko

--- zeljko schrieb am Mo, 29.8.2011:

Von: zeljko
Betreff: Re: [Qt] Lazarus Program crases with QT-binding 2.4 An: "Items specific to the Qt widget set"
Datum: Montag, 29. August, 2011 08:34 Uhr

#yiv1769566830 p, #yiv1769566830 li {white-space:pre-wrap;}

Reinhard Berger wrote 15 lines
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.freepascal.org/pipermail/qt/attachments/20110829/35fb1d01/attachment.html>

Reply by email