Am 29.03.22 um 15:52 schrieb Mattias Gaertner via lazarus:
On Tue, 29 Mar 2022 15:44:24 +0200
John Landmesser via lazarus <[email protected]> wrote:
My app checks in code if trayIcon.Hint is working.
Therefor I have to distinguish in my code if the application has
LCLWidgetType=qt5 or LCLWidgetType=gtk2
The solution for gtk2 is:
getEnvironmentVariable('LAZUSEAPPIND')
I couldn't google a check for LCLWidgetType=qt5, how to do that?
Do you mean
{$IF defined(lclqt5) or defined(lclgtk2)}
?
Mattias
I try
{$IF defined(lclqt5)
Thank you!
--
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus