[fpc-pascal] Lazarus + Qt4 in FreeBSD

Den Jean Den.Jean at telenet.be
Sun Dec 2 12:42:39 CET 2007

On Saturday 01 December 2007 12:28:21 pm papelhigienico at gmail.com wrote:
> 6) Rebuild Lazarus without sucess... :(

in point 5 you succesfully got a libqt4intf.so ?. Great.
So the rest is just compiling lazarus. 

cd lazarus
make LCL_PLATFORM=qt clean all OPT=dUSE_QT_4_3 

and look at output

The option USE_QT_4_3 is if you use the Qt 4.3.1 libs.
Do not add it if you used the Qt 4.2.3 libs.
Did you put llibQtCore.so.4 and libQtGui.so.4 in /usr/local/lib as well ?
and ran ldconfig or the bsd equivalent ?

The resulting executable ofcourse depends on Qt :-)

 ldd ./lazarus | grep -i qt
        libqt4intf.so => /usr/lib/libqt4intf.so (0xb7d21000)
        libQtCore.so.4 => /usr/lib/qt4/lib/libQtCore.so.4 (0xb7a51000)
        libQtGui.so.4 => /usr/lib/qt4/lib/libQtGui.so.4 (0xb7294000)

(/usr/lib on my system) 


Den Jean

More information about the fpc-pascal mailing list