I can set LCLWidgetType:=qt5 in an extra build mode. But i was asking myself why not use something like this:
unit Config;
interface
{$IFDEF linux}
const
WidgetType = 'qt5';
{$ELSE}
const
WidgetType = 'gtk2';
{$ENDIF}
implementation
end.
include this unit in uses clause of mainform ... has no effect ! Ok, but why ? Tipps are welcome ... John Landmesser -- _______________________________________________ lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus
