[Qt] ARM Qt4Pas V2.1 Access Violations
Nataraj S Narayan
natarajsn at gmail.com
Fri Apr 23 14:28:55 CEST 2010
Hi Anton
Try with CONFIG_OABI_COMPAT=y
in the arm-linux kernel.
regards
Nataraj
On Fri, Apr 23, 2010 at 12:24 PM, Anton Rieckert <anton at riecktron.co.za> wrote:
> Hello all on the Qt4Pas V2.1 mailing list.
>
> Thank you for the great work.
>
> I have a small problem and cant seem to fix it. I compiled libQt4Pas
> V2.1 for i386 and ARM. The examples works 100% on my i386 machine, but
> when I compile the project for ARM, it compiles without any problems.
> The problem is that when I try to run it on my ARM board (kernel
> 2.6.33-2) I receive the following errors.
>
> When compiling for GTK2+ it work on both my i386 and ARM computers
> without any probelms.
>
> Any suggestions or help would be appreciated. I would email you the
> compiled libraries for ARM or if someone has compiled ARM libs, please
> email them to me so that I can see if they work for me.
>
> By the way, I'm using the latest svn versions of both lazarus and fpc
>
> Kind Regards
> Anton Rieckert
>
>
> TQtMainWindow.CreateWidget Name: Form1
> TQtWidget.InitializeWidget: Self:42F71020 Widget:36F630 was created for
> control Form1
> [FORMS.PP] ExceptionOccurred
> Sender=EAccessViolation
> Exception=Access violation
> Stack trace:
> [ 246.760009] usb 1-1.2.1: device not accepting address 108, error -32
> $0017763C TQTOBJECT__BEGINEVENTPROCESSING, line 865 of qtobjects.pas
> [ 246.822814] hub 1-1.2:1.0: unable to enumerate USB device on port 1
> $0016FE00 TQTMAINWINDOW__EVENTFILTER, line 4554 of qtwidgets.pas
> $401C5274
> $0016D284 TQTWIDGET__SETCOLOR, line 3038 of qtwidgets.pas
> $00180E20 TQTWSWINCONTROL__SETCOLOR, line 564 of qtwscontrols.pp
> $00115D28 TWINCONTROL__INITIALIZEWND, line 7280 of
> ./include/wincontrol.inc
> $00038850 TCUSTOMFORM__INITIALIZEWND, line 991 of
> ./include/customform.inc
> $00115980 TWINCONTROL__CREATEWND, line 7178 of
> ./include/wincontrol.inc
> $00035258 TSCROLLINGWINCONTROL__CREATEWND, line 36 of
> ./include/scrollingwincontrol.inc
> $0003C398 TCUSTOMFORM__CREATEWND, line 2320 of
> ./include/customform.inc
> $0003D1EC TFORM__CREATEWND, line 2648 of ./include/customform.inc
> $0011537C TWINCONTROL__CREATEHANDLE, line 7057 of
> ./include/wincontrol.inc
> $0011694C TWINCONTROL__HANDLENEEDED, line 7549 of
> ./include/wincontrol.inc
> $00044F6C TAPPLICATION__CREATEFORM, line 2091 of
> ./include/application.inc
> $00018EE0 main, line 18 of /tmp/project1.lpr
> TApplication.HandleException Access violation
> Stack trace:
> $0017763C TQTOBJECT__BEGINEVENTPROCESSING, line 865 of qtobjects.pas
> $0016FE00 TQTMAINWINDOW__EVENTFILTER, line 4554 of qtwidgets.pas
> $401C5274
> $0016D284 TQTWIDGET__SETCOLOR, line 3038 of qtwidgets.pas
> $00180E20 TQTWSWINCONTROL__SETCOLOR, line 564 of qtwscontrols.pp
> $00115D28 TWINCONTROL__INITIALIZEWND, line 7280 of
> ./include/wincontrol.inc
> $00038850 TCUSTOMFORM__INITIALIZEWND, line 991 of
> ./include/customform.inc
> $00115980 TWINCONTROL__CREATEWND, line 7178 of
> ./include/wincontrol.inc
> $00035258 TSCROLLINGWINCONTROL__CREATEWND, line 36 of
> ./include/scrollingwincontrol.inc
> $0003C398 TCUSTOMFORM__CREATEWND, line 2320 of
> ./include/customform.inc
> $0003D1EC TFORM__CREATEWND, line 2648 of ./include/customform.inc
> $0011537C TWINCONTROL__CREATEHANDLE, line 7057 of
> ./include/wincontrol.inc
> $0011694C TWINCONTROL__HANDLENEEDED, line 7549 of
> ./include/wincontrol.inc
> $00044F6C TAPPLICATION__CREATEFORM, line 2091 of
> ./include/application.inc
> $00018EE0 main, line 18 of /tmp/project1.lpr
> [FORMS.PP] ExceptionOccurred
>
>
> _______________________________________________
> Qt mailing list
> Qt at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/qt
>
More information about the Qt
mailing list