[Qt] Qt framebuffer for ARM
zeljko
zeljko at holobit.net
Thu Nov 22 20:20:00 CET 2012
On Thursday 22 of November 2012 19:52:42 Zoran Djordjevic wrote:
> Hello
>
> I don't know if it is possible to crosscompile Qt project for ARM, using
> Lazarus, but to be able to later start program with -qws option ie.
> without using X11? I have success when using GTK over X11 for ARM, but now
> I want to try Qt with -qws option ie. using framebuffer.
> I successfuly used Qt (over X11) on desktops, using Lazarus. Also
> I successfully built libqt4pas.so for ARM and when tried to compile Qt
> project for ARM (also added -dQTOPIA in options), got few errors at
> linking phase, all starting with: undefined reference to QX11Info....
> Where I go wrong and is it possible at all to crosscompile Qt project with
> Lazarus which would not use X11 but framebuffer?
hm....-dQTOPIA should work afair.See qt45.pas:
{$IFNDEF QTOPIA}
{$IF DEFINED(LINUX) or DEFINED(FREEBSD) or DEFINED(NETBSD)}
{$DEFINE BINUX}
Qt4PasLib = 'libQt4Pas.so.5';
{$ENDIF}
{$ENDIF}
also qtdefines.inc:
{$IFNDEF QTOPIA}
{$IF DEFINED(LINUX) or DEFINED(FREEBSD) or DEFINED(NETBSD)}
{$DEFINE HASX11}
{$ENDIF}
{$ENDIF}
I seriously doubt that something is wrong with qtlcl in this case since
QX11Info is surrounded by IFDEF BINUX.
Maybe you passed something extra to libQt4Pas makefile ?
zeljko
More information about the Qt
mailing list