Hello, with this code
{$IFDEF LCLQt}
ShowMessage('qt');
{$ENDIF}
{$IFDEF LCLGTK2}
ShowMessage('gtk2');
{$ENDIF}
Work fine with IDE,
but when compile the project with lazbuild
Ej: lazbuild --ws=qt project.lpi
show gtk2
if compile with IDE on QT, then
lazbuild --ws=qt project.lpi
show qt
if delete tmp subdir lib and compile
lazbuild --ws=qt project.lpi
show gtk2
I'm going crazy
Somebody can test with lazbuild?
Tested with Lazarus 0.9.30.1 fpc 2.4.2/2.4.4 Linux 32 and 64 bits.
Thanks