Recent

Author Topic: What GUI widget set is used?  (Read 1950 times)

bigtunacan

  • Newbie
  • Posts: 4
What GUI widget set is used?
« on: August 02, 2017, 04:17:57 pm »
Sorry for such a noob question.  I just found out about this project and installed it yesterday.  I'm wondering what widget set ends up being used or how this is determined (QT, Carbon, etc...).  After just installing Lazarus it looks like the form builder must be using some widget set by default, but I'm not sure what this is or how I would swap this for a different widget set, or for that matter if I even should or just use the one that is there by default?

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: What GUI widget set is used?
« Reply #1 on: August 02, 2017, 04:25:31 pm »
On Linux its GTK2 AFAIK. To change it open menu Tools - Configure "Build Lazarus" and change the LCL widget type. In case you would like to use qt (currently QT4) you have to install the necessary libraries separately.

http://wiki.freepascal.org/Qt_Interface

Best regards
Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: What GUI widget set is used?
« Reply #2 on: August 02, 2017, 04:27:48 pm »
The widgetset is customisable per project.
Open the Options for Project dialog (Project > Project Options...).
In the treeview on the left click the Config and Target node.
The penultimate line on that page is Current LCL widgetset: "something or other".
The last line in blue enables you to change the widgetset (though you may need to install further libraries, Pascal bindings etc. if they are not installed in a default installation of your OS).

 

TinyPortal © 2005-2018