[Lazarus] Linux apps and gtk version choosing

Kostas Michalopoulos badsector at runtimeterror.com
Sun Feb 26 14:36:31 CET 2023


On 2/26/23 14:25, Mgr. Janusz Chmiel via lazarus wrote:
> Where to change GTK version from 2.0 to 3.0?
> 
> IIs it possible from Lazarus IDE, Form window or only from source code 
> of app?

Project -> Project Options -> Additions and Overrides (under Compiler 
Options near the bottom of the sidebar on the left) -> Click Set "LCL 
WidgetType" -> Pick one of the available options (not that not all 
options will work, but gtk2 and gtk3 should work and qt5 will work if 
you have libqt5pas installed).

Kostas


More information about the lazarus mailing list