On Mon, 13 Feb 2017 09:23:35 +0000
Mark Morgan Lloyd via Lazarus <[email protected]> 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
-- 
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to