[Qt] qt laz arm tpanel prob

Terry Kemp klc at klc.net.nz
Thu Apr 3 22:24:53 CEST 2008


On Thu, 2008-04-03 at 19:16 +0200, Den Jean wrote:
> On Wednesday 02 April 2008 11:00:12 pm Den Jean wrote:
> > To get intermediate results, I avoided all methods that have parameters
> > like QRgb of QWSDisplay (not yet available, need some work). But they are
> > needed for lazarus/lcl/qt.
> 
> update:
> http://users.pandora.be/Jan.Van.hijfte/qtforfpc/qtopia_qt4pas-V1.64_Qt4.3.4.tar.gz
> http://users.pandora.be/Jan.Van.hijfte/qtforfpc/qtopia_demos-V1.64_Qt4.3.4.tar.gz
> 
> I fixed handling of qrgb (not a class) and 
> removed QPaintDevice_qwsDisplay (class qwsDisplay not in docs)

Thanks for looking at this Den.

I am cross-compiling qtopia-core-opensource-src-4.3.4 with ./configure
-embedded arm -qt-mouse-tslib -armfpa -prefix /usr

then I had to modify your script to...
---------------------------------------------
#!/bin/env bash
#export QT4=/usr/lib/qt4
export QT4=../qtopia-core-opensource-src-4.3.4/
export QT4I=$QT4/include
export LD_LIBRARY_PATH=$QT4/lib
if [ -e "$LD_LIBRARY_PATH/libQtCore.so.4" ]
then
  arm-linux-g++ -D QTOPIA -D Q_WS_QWS -I. -I$QT4I -I$QT4I/Qt -I
$QT4I/QtGui -I$QT4I/QtCore -Iqlcl qtpas.cpp -o libqt4intf.so -shared
-fPIC -L$QT4/lib -lQtCore -lQtGui -lQtNetwork  -Xlinker
"-soname=libqt4intf.so"
  arm-linux-strip --strip-all libqt4intf.so
else
  echo "Please Modify location of Qt4 in this script"
fi
----------------------------------------------


I just have one issue with 1.64 that is preventing me cross-compiling a
lazarus QT program...

[tkemp at werewolf mflo-laz]$ ppcrossarm-2.3.1 project1.lpr -darm -dqt
-dFPC_ARMEL -CfSOFT
Free Pascal Compiler version 2.3.1 [2008/04/02] for arm
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for ARM
Compiling project1.lpr
Assembling project1
Linking project1
/home/tkemp/bin//libqt4intf.so: undefined reference to
`QPixmap::handle() const'
project1.lpr(19) Error: Error while linking
project1.lpr(19) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

where should I look for this?


regards 

Terry





More information about the Qt mailing list