[Lazarus] How to check in code if LCLWidgetType is qt5?

John Landmesser jmlandmesser at gmx.de
Tue Mar 29 15:44:24 CEST 2022


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?


Tipps are welcome ....




More information about the lazarus mailing list