[Qt] lazaras fpc for qt-embedded-linux-opensource-src-4.5.2

Nataraj S Narayan natarajsn at gmail.com
Thu Oct 1 10:12:57 CEST 2009


Hi

I need to get fpc bindings for  qt-embedded-linux-opensource-src-4.5.2
for arm-linux on DirectFB.

qt4pas-V1.70_Qt4.5.0 is compiling for normal linux and FreeBSD and i
am getting libqt4intf.so.

But for  qt-embedded-linux-opensource-src-4.5.2 getting lots of errors  after
modifying compile_lib.sh with :-


# unpack qt source -> the created directory (Qt4 dir) will be used below
# do configure and gmake in that Qt4 dir

NAME=libqt4intf.so
#QTDIR=../qt-x11-opensource-src-4.4.3
QTDIR=/software/qt-embedded-linux-opensource-src-4.5.2
INCLUDE_PATH="-I. -I$QTDIR/include -I$QTDIR/include/Qt
-I$QTDIR/include/QtGui -I$QTDIR/include/QtCore -Iqlcl "
LIB_PATH=$QTDIR/lib
export LD_LIBRARY_PATH=$LIB_PATH
if [ -e "$LIB_PATH/libQtCore.so.4" ]
then
  echo please wait for compile to finish ...
  arm-linux-g++ -D BINUX $INCLUDE_PATH qtpas.cpp -o libqt4intf.so
-shared -fPIC -lQtCore -lQtGui  -Xlinker -soname=$NAME -Xlinker
--library-path -Xlinker $LIB_PATH
  echo Showing used Qt libraries when LD_LIBRARY_PATH=$LD_LIBRARY_PATH
  arm-linux-ldd $NAME | grep libQt
  echo stripping library
  arm-linux-strip --strip-all $NAME
  echo Done
else
  echo "Please Modify location of Qt4 in this script"
fi

I have put the error log in  http://pastebin.com/m142a2e17

Am I missing something?

Plz help.

regards

Nataraj




More information about the Qt mailing list