[Lazarus] Widget set definitions

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 13 10:53:48 CET 2017


On Mon, 13 Feb 2017 09:23:35 +0000
Mark Morgan Lloyd via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> I've got a bit of diagnostic code that I add to most programs that 
> retrieves things like Subversion revision numbers and link-time build 
> ID. It also contains
> 
> (*$IFDEF LCLQT *)
> 	  widV= 'Linked with the Qt widget set';
>    (*$DEFINE WIDGETSET *)
> (*$ENDIF       *)
> (*$IFDEF LCLFPGUI *)
> 	  widV= 'Linked with the FPGUI widget set';
>    (*$DEFINE WIDGETSET *)
> (*$ENDIF       *)
> 
> and so on.
> 
> Presumably LCLQT and the rest are defined somewhere in the IDE or LCL, 
> but where can I find this so that I can make sure that my code's kept in 
> step?

uses InterfaceBase, LCLPlatformDef;

widV:='Linked with '+LCLPlatformDisplayNames[WidgetSet.LCLPlatform]+'
widget set';

Mattias


More information about the Lazarus mailing list