[Qt] x86_64 qt bindings

Terry Kemp klc at klc.net.nz
Sat Jun 21 22:44:44 CEST 2008


On Sat, 2008-06-21 at 13:12 -0300, Felipe Monteiro de Carvalho wrote:
> On Fri, Jun 20, 2008 at 12:21 PM, Paul Ishenin <webpirat at mail.ru> wrote:
> > And who will fix them? I dont have 64 bit os but mayve Zeljan or Felipe
> > have.
> 
> I also don't have 64 bits hardware.
> 
I have been using x86_64 bindings for the last 6 months or so with
lazarus. 

I had no problems building the bindings. It sounds like you built
against the host installed Qt not a source build?

if it helps, here is what I use for x86_64 and i686 builds with no
changes...

you need to get qt-embedded-linux-opensource-src-4.4.0.tar.gz from
trolltechs website (or whatever version you wish to use)

extract to ~/ or wherever and build qt-x11-opensource-src-4.4.0

cd ~/qt-x11-opensource-src-4.4.0/
./configure
gmake

then compile script...
---------------------------------------------------
#!/bin/env bash
export QT4=~/qt-x11-opensource-src-4.4.0
export QT4I=$QT4/include
export LD_LIBRARY_PATH=$QT4/lib
if [ -e "$LD_LIBRARY_PATH/libQtCore.so.4" ]
then
g++ -D BINUX -I. -I$QT4I -I$QT4I/Qt -I$QT4I/QtGui -I$QT4I/QtCore -Iqlcl
qtpas.cpp -o libqt4intf.so -shared -fPIC -dPIC -L$QT4/lib -lQtCore
-lQtGui -Xlinker "-soname=libqt4intf.so"
strip --strip-all libqt4intf.so
else
echo "Please Modify location of Qt4 in this script"
fi
------------------------------------------------------


Re (x86_64) bugs - there are many ;) biggest problem is constant
crashing of ide compiled with Qt due to tooltips. I kinda know why. One
day I will look at this - for now I turn them off.

I have only been using Lazarus/Qt x86_64 to create the gui and program
for then cross-compiling to arm so I havnt seen any issues with bitmaps
etc cos up until yesterday there was problems with graphic components on
arm.

Post here if you have specific issues with x86_64 and we will see if we
can help each other. 

regards

Terry    




More information about the Qt mailing list