Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2009-10

lazaras fpc for qt-embedded-linux-opensource-src-4.5.2

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Nataraj S Narayan

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

Den Jean
to Nataraj S Narayan
Nataraj S Narayan wrote
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

FreeBSD ? Nice to hear it (binding) still works. Would you be so kind as to provide me with an up to date FreeBSD screenshot of Lazarus trunk :-). http://users.telenet.be/Jan.Van.hijfte/qtforfpc/Lazarus_FreeBSD.png7

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

? compile_lib.sh ?

Why do you not use the provided compile_lib_qtopia.sh :-)
* add i386 to compile with gcc (i386 for qvfb)
* add no parameter to compile with arm-linux-g++ (arm)

regards,

Den Jean

Nataraj S Narayan
to Den Jean: FreeBSD ? Nice to hear it (binding) still works. Would you be so kind as to provide me…

Hi Den

Well, dint use with lazarus yet. 'Maked' libqt4intf.so from /usr/port/x11-toolkits/qt4pas. Compiled and executed few fpc demos in FreeBSD.

My priority is make it work on arm-linux.

BTW, isnt qtopia dead? Or is it merged with something else in QT after Nokia taken over? Still dont quite get what qtopia is for.

My need is to work without X , only using directFB. I am able to get the normal C++ Qt apps to work on arm-linux on /dev/fb0.

regards

Nataraj

Den Jean wrote 28 lines
On Thursday 1 October 2009 10:12:57 Nataraj S Narayan wrote: > 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 FreeBSD ? Nice to hear it (binding) still works. Would you be so kind as to provide me with an up to date FreeBSD screenshot of Lazarus trunk :-). http://users.telenet.be/Jan.Van.hijfte/qtforfpc/Lazarus_FreeBSD.png7 > But for qt-embedded-linux-opensource-src-4.5.2 getting lots of errors after > modifying compile_lib.sh with :- ? compile_lib.sh ? Why do you not use the provided compile_lib_qtopia.sh :-) * add i386 to compile with gcc (i386 for qvfb) * add no parameter to compile with arm-linux-g++ (arm) regards, Den Jean _______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt