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?
?
Regards?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20121122/1caeacec/attachment.html>
Mailing lists / qt / 2012-11
Qt framebuffer for ARM
8 messages · 4 people · –
- ZZoran Djordjevic 4
- SSvetozar Belic 2
- DDen Jean 1
- Zzeljko 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Zoran Djordjevic wrote 12 lines
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
Hello ? I don't know if it is possible to crosscompile Qt?project for ARM, using Lazarus,…
Zeljko,
FYI : http://forum.lazarus.freepascal.org/index.php/topic,18957
Show quoted text 6 lines
QX11Info seems properly ifdefed so you did not pass correctly the options.
make PREFIX=/usr clean all LCL_PLATFORM=qt OPT="-dQTOPIA"
Where I go wrong and is it possible at all to crosscompile Qt project with Lazarus which would not use X11 but framebuffer?
There are alot of fixes for X11 and MSWINDOWS in lcl/qt so I do not know the state of Lazarus on Qt Qtopia/QWS
grep -e 'HASX11\|MSWINDOWS' /storage/svn/lazarus/lcl/interfaces/qt/*.p* | wc -l reveals 141 Windows or X11 specific fixes. No work specifically has been done for Qtopia
regards,
Jan
It seems to me so, about the wrong options, but options I do passed was in graphical menues of IDE. So I?went to?menu Project Options and in?Dialog box "Options for project",? item - "Compiler options" and subitem "Other", I entered "-dQTOPIA -k-L/home/djdjdjole/lazarus/fpc/libcross"?. In Building mode subitem I entered LCLWidgetType -qt. There must be some missunderstanding from my side. Lazarus?version is 1.0 (GTK).
?
Regards
________________________________
Earlier message 33 lines
FYI : http://forum.lazarus.freepascal.org/index.php/topic,18957 QX11Info seems properly…
Here are my complete compiler options -?copied?from IDE: ?
-MObjFPC -Scghi -O1 -Tembedded -Parm -g -gl -vewnhi -l -Filib/arm-embedded -Fu../../../lazarus/lcl/units/arm-embedded/qt -Fu../../../lazarus/lcl/units/arm-embedded -Fu../../../lazarus/components/lazutils/lib/arm-embedded -Fu../../../lazarus/packager/units/arm-embedded -Fu. -FUlib/arm-embedded/ -dLCL -dLCLqt -dQTOPIA -k-L/home/djdjdjole/lazarus/fpc/libcross ?
Host machine - Ubuntu 11.04 on VMWare; Lazarus 1.0 ?
Regards
________________________________
Earlier message 33 lines
FYI : http://forum.lazarus.freepascal.org/index.php/topic,18957 QX11Info seems properly…
SORRY - my mistake - compiler options are (previous ona was from some other attempt): ?
-MObjFPC -Scghi -O1 -Tlinux -Parm -g -gl -vewnhi -l -Filib/arm-linux -Fu../../../lazarus/lcl/units/arm-linux/qt -Fu../../../lazarus/lcl/units/arm-linux -Fu../../../lazarus/components/lazutils/lib/arm-linux -Fu../../../lazarus/packager/units/arm-linux -Fu. -FUlib/arm-linux/ -dLCL -dLCLqt -dQTOPIA -k-L/home/djdjdjole/lazarus/fpc/libcross ?
Thanks
?
________________________________
Earlier message 33 lines
Hi,
Linking errors occur while compiling your project, but ld actually cant link libQt4Pas to your target Qt libs. This would mean that you didn't properly build libQt4Pas or against the wrong Qt libs.. This is from my experience with a similar project.
Svetozar Belic.
________________________________
Earlier message 46 lines
Hi,
Linking errors occur while compiling your project, but ld actually cant link libQt4Pas to your target Qt libs. This would mean that you didn't properly build libQt4Pas or against the wrong Qt libs.. This is from my experience with a similar project.
Svetozar Belic.
________________________________
