[fpc-pascal] which GUI (noob)

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Aug 6 16:43:38 CEST 2015

On 2015-08-06 15:26, Peter wrote:
> I was unsure how to
> get Lazarus to use fpgui in the first place. Anyway, its here, for
> anyone interested.

Correction. Those instructions mentioned in the URL you posted is to
create a LCL-fpGUI application. The LCL-fpGUI widgetset is not feature
complete, and not nearly ready for real usage.

It is recommended that you create fpGUI applications using fpGUI
directly (no LCL involved). For that you follow these simple steps:

Lets configure Lazarus to have a new project type:
 1. Run Lazarus and open the fpgui_toolkit.lpk package found in the
   fpGUI code: <fpgui>/src/corelib/[x11|gdi]/fpgui_toolkit.lpk
   Click "Compile".

 2. Now open the IDE add-on package, compile and install.
    Open <fpgui>/extras/lazarus_ide/fpgui_ide.lpk
   Click "Compile" & "Install".
   Lazarus will rebuild and restart itself.

Now to create a fpGUI application:
 1. Run Lazarus

 2. Select "Project -> New Project..." and select "fpGUI Toolkit

All done, you have create your first fpGUI Toolkit application using
Lazarus IDE as your editor! :)

I also recommend you integrate the fpGUI UIDesigner (forms designer) and
DocView as external tool items in Lazarus IDE. It is just a convenience,
not a requirement. For that you can follow the instructions found in
this page. The page describes the process for docview, but the same
process is used for the UIDesigner.


For more available options see the INSTALL.txt file found in
<fpgui>/docs/ directory.

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-pascal mailing list