[Qt] Qt4 Binding V2.4 does not work on main Linux distros

zeljko zeljko at holobit.net
Sat Oct 29 21:02:33 CEST 2011


On Saturday 29 of October 2011 18:15:13 Juha Manninen wrote:
> 2011/10/29 zeljko <zeljko at holobit.net>
> 
> > **
> > 
> > On Friday 28 of October 2011 19:33:11 Juha Manninen wrote:
> > > No, even V2.1 does not work with OpenSuse 11.4. With Kubuntu 11.10 it
> > 
> > Best thing would be to make rpms for various distros. Various ubuntus
> > have libqt4pas as deb so I guess it should wotk.
> > 
> > My wild guess is that -mstackrealign isn't added.
> > 
> > What's exact problem with Suse ?
> > 
> > I haven't seen any problem with Fedora 11/12/13/14
> 
> It causes Access violations. The output is like:
> 
>  QPainter::end: Painter ended with 4 saved states
>  TApplication.HandleException Access violation

Such errors means: compile bindings with -mstackrealign.


> My idea was that the default binary download of libqt4pas should be changed
> so it works with the main distros (maybe by adding -mstackrealign ?)

I think that you have binaries on Den's site which are compiled with -
mstackrealign.
BUT there could be another problem -mstackrealign is relatively "fresh" thing 
so even compiling with -mstackrealign can produces crashes.

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


More information about the Qt mailing list