Difference between revisions of "fpGUI Interface"
Paulatreides (talk | contribs) |
Ggeldenhuys (talk | contribs) (fixed the new fpGUI v0.5 paths.) |
||
Line 6: | Line 6: | ||
==Creating your first LCL application with fpGUI== | ==Creating your first LCL application with fpGUI== | ||
− | This is a step-by-step guide to build your first application with the | + | This is a step-by-step guide to build your first application with the fpGUI widgetset |
1. Download the latest Lazarus from subversion and build it (not necessary if you downloaded a pre-compiled snapshot) | 1. Download the latest Lazarus from subversion and build it (not necessary if you downloaded a pre-compiled snapshot) | ||
Line 18: | Line 18: | ||
<fpGUI dir>/gui ⇒ lazarus/lcl/interfaces/fpgui/gui | <fpGUI dir>/gui ⇒ lazarus/lcl/interfaces/fpgui/gui | ||
− | <fpGUI dir>/ | + | <fpGUI dir>/corelib ⇒ lazarus/lcl/interfaces/fpgui/corelib |
− | : 3.2. Linux or any other Unix type platforms. Create symbolic links from the fpGUI's ''' | + | : 3.2. Linux or any other Unix type platforms. Create symbolic links from the fpGUI's '''corelib''' and '''gui''' directories to the Lazarus LCL directory as follows: |
ln -s <fpGUI dir>/gui lazarus/lcl/interfaces/fpgui/gui | ln -s <fpGUI dir>/gui lazarus/lcl/interfaces/fpgui/gui | ||
− | ln -s <fpGUI dir>/ | + | ln -s <fpGUI dir>/corelib lazarus/lcl/interfaces/fpgui/corelib |
− | 4. Open Lazarus, open the menu Tools-->"Configure Build Lazarus", select all options to None and LCL to Build+Clean, select | + | 4. Open Lazarus, open the menu Tools-->"Configure Build Lazarus", select all options to None and LCL to Build+Clean, select fpGUI widgetset and rebuild it. |
− | 5. Go to the menu Compiler Options, select ''' | + | 5. Go to the menu Compiler Options, select '''fpGUI''' as the widgetset and you can recompile your project to fpGUI =) |
==Road map for the fpGUI interface== | ==Road map for the fpGUI interface== | ||
Here: [[Roadmap#Widgetset_dependent_components]] | Here: [[Roadmap#Widgetset_dependent_components]] |
Revision as of 22:54, 8 November 2007
│
Deutsch (de) │
English (en) │
español (es) │
français (fr) │
fpGUI is a widgetset completely written in Object Pascal. It links directly with the underlying windowing system, and thus avoids the need for many external libraries. More information on its website: http://opensoft.homeip.net/fpgui/
Creating your first LCL application with fpGUI
This is a step-by-step guide to build your first application with the fpGUI widgetset
1. Download the latest Lazarus from subversion and build it (not necessary if you downloaded a pre-compiled snapshot)
2. Download fpGUI from SubVersion with this command (you can also use TortoiseSVN to do this):
svn co https://fpgui.svn.sourceforge.net/svnroot/fpgui/trunk fpgui
3. Now we need to make the Lazarus LCL find the fpGUI code. We have two options:
- 3.1. Supported on all platforms. Copy two directories from the downloaded fpgui to lazarus
<fpGUI dir>/gui ⇒ lazarus/lcl/interfaces/fpgui/gui <fpGUI dir>/corelib ⇒ lazarus/lcl/interfaces/fpgui/corelib
- 3.2. Linux or any other Unix type platforms. Create symbolic links from the fpGUI's corelib and gui directories to the Lazarus LCL directory as follows:
ln -s <fpGUI dir>/gui lazarus/lcl/interfaces/fpgui/gui ln -s <fpGUI dir>/corelib lazarus/lcl/interfaces/fpgui/corelib
4. Open Lazarus, open the menu Tools-->"Configure Build Lazarus", select all options to None and LCL to Build+Clean, select fpGUI widgetset and rebuild it.
5. Go to the menu Compiler Options, select fpGUI as the widgetset and you can recompile your project to fpGUI =)