[fpc-pascal] Lazarus + Qt4 in FreeBSD

Den Jean Den.Jean at telenet.be
Fri Dec 7 21:44:27 CET 2007


On Tuesday 04 December 2007 05:08:15 pm papelhigienico at gmail.com wrote:
> {$IFDEF FREEBSD}
>  QtIntf  = 'libqt4intf.so';
>  {$ENDIF}

but there are many LINUX ifdefs. (see below)
It would be complicated to add "... or FREEBSD or NETBSD"  everywhere etc.

I am considering to replace LINUX with UNIX everywhere,
but need to check if this does not break things.

Can you also read Lazarus Qt Widget Set List.

I will ask there what they think about that.

$ grep -ir LINUX qt4.pas lib
qt4.pas:{$IFDEF LINUX}
qt4.pas:{$ifdef DARWIN or LINUX }
qt4.pas:{$ifdef LINUX }
qt4.pas:{$ifdef LINUX }
qt4.pas:{$ifdef LINUX }
qt4.pas:{$ifdef DARWIN or LINUX }
qt4.pas:{$ifdef DARWIN or LINUX }
qt4.pas:{$ifdef LINUX }
qt4.pas:{$ifdef LINUX }
qt4.pas:{$ifdef LINUX }
qt4.pas:{$ifdef LINUX }
qt4.pas:{$ifdef DARWIN or LINUX }
qt4.pas:{$ifdef DARWIN or LINUX }
qt4.pas:{$ifdef LINUX }
qt4.pas:{$IFDEF LINUX}
lib/qcoreapplication.hb:#if defined DARWIN || LINUX
lib/qcoreapplication.cppb:#if defined DARWIN || LINUX
lib/qapplication.hb:#if defined LINUX
lib/qapplication.hb:#if defined LINUX
lib/qapplication.cppb:#if defined LINUX
lib/qapplication.cppb:#if defined LINUX
lib/qwidget.hb:#if defined LINUX
lib/qwidget.hb:#if defined DARWIN || LINUX
lib/qwidget.cppb:#if defined LINUX
lib/qwidget.cppb:#if defined DARWIN || LINUX
lib/qcursor.hb:#if defined DARWIN || LINUX
lib/qcursor.hb:#if defined LINUX
lib/qcursor.cppb:#if defined DARWIN || LINUX
lib/qcursor.cppb:#if defined LINUX
lib/qx11info_x11.hb:#if defined LINUX
lib/qx11info_x11.cppb:#if defined LINUX
lib/qx11info_x11.cppb:#if defined LINUX
lib/qcolor.hb:#if defined LINUX
lib/qcolor.cppb:#if defined LINUX
lib/qregion.hb:#if defined LINUX
lib/qregion.cppb:#if defined LINUX
lib/qprinter.hb:#if defined DARWIN || LINUX
lib/qprinter.cppb:#if defined DARWIN || LINUX
lib/qfont.hb:#if defined DARWIN || LINUX
lib/qfont.cppb:#if defined DARWIN || LINUX
lib/qpixmap.hb:#if defined LINUX
lib/qpixmap.cppb:#if defined LINUX






More information about the fpc-pascal mailing list