Re: [Lazarus] Linux apps and gtk version choosing

2023-02-26 Thread Kostas Michalopoulos via lazarus

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
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux apps and gtk version choosing

2023-02-26 Thread Bart via lazarus
On Sun, Feb 26, 2023 at 2:26 PM Mgr. Janusz Chmiel via lazarus
 wrote:

> IIs it possible from Lazarus IDE, Form window or only from source code of app?

Lazarus:
Compiler Options -> Config and Target -> "Select another LCL widgetset
(macro LCLWidgetType)"

-- 
Bart
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Linux apps and gtk version choosing

2023-02-26 Thread Mgr. Janusz Chmiel via lazarus
Dear specialists,   Where to choose which GTK version will be used by LCL whwen creating apps for Linux?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? Thank you. 
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus