[fpc-pascal] Lazarus + Qt4 in FreeBSD

papelhigienico at gmail.com papelhigienico at gmail.com
Tue Dec 4 14:29:30 CET 2007


I'm stupid!!!


In lcl/interfaces/qt/qt4.pas is wrote:

{$IFDEF MSWINDOWS}
QtIntf  = 'libqt4intf.dll';
{$ENDIF}
{$IFDEF LINUX}
QtIntf  = 'libqt4intf.so';
{$ENDIF}
{$IFDEF DARWIN}
QtIntf  = '';
{$ENDIF}


FREEBSD... not found!! :D

I sugest add this:

{$IFDEF FREEBSD}
QtIntf  = 'libqt4intf.so';
{$ENDIF}


Fabio Luis Girardi


2007/12/2, Den Jean <Den.Jean at telenet.be>:
>
> 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)
>
>
> regards,
>
> Den Jean
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20071204/c09e8a3f/attachment.html>


More information about the fpc-pascal mailing list