mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-29 07:49:53 +02:00
latest news
git-svn-id: trunk@4198 -
This commit is contained in:
parent
ccc9d855af
commit
0a5e30f800
@ -2,15 +2,20 @@ The gtk2 interface for lazarus
|
||||
==============================
|
||||
|
||||
The gtk2 interface for lazarus is a descendent of the gtk interface. It is not
|
||||
yet complete and does not even compile. For those who want to help us here are
|
||||
some hints:
|
||||
yet complete. For those who want to help us here are some hints:
|
||||
|
||||
1. The gtk2 interface needs the gtk2 bindings 'gtk2forpascal' from
|
||||
http://sourceforge.net/projects/gtk2forpascal/.
|
||||
Please download the latest cvs in a directory of your choice. It contains the
|
||||
package gtk2forlazarus.lpk.
|
||||
package gtk2forlazarus.lpk. For example:
|
||||
|
||||
2. Open this package.
|
||||
[]$ export CVS_RSH=ssh
|
||||
[]$ export CVSROOT=:pserver:anonymous@cvs.gtk2forpascal.sourceforge.net:/cvsroot/gtk2forpascal
|
||||
[]$ cvs login
|
||||
[]$ cvs -z3 co gtk2
|
||||
|
||||
|
||||
2. Open the package gtk2forlazarus.lpk.
|
||||
The package contains all the needed search paths and compiler options to
|
||||
compile a 'gtk2 application' in lazarus. A gtk2 application is a program, that
|
||||
uses the gtk2 libs. Don't confuse this with a 'LCL application using the gtk2
|
||||
@ -27,9 +32,9 @@ Then open the compiler options and set as widget type 'gtk2'.
|
||||
|
||||
|
||||
When you compile your program, the IDE will automatically compile the
|
||||
bindings and the gtk2 interface. Because the interface is not complete the
|
||||
compilation will fail with some errors.
|
||||
The next step is to fix the compiler errors by adding {$IFDEF GTK2} directives.
|
||||
bindings and the gtk2 interface.
|
||||
There is a compilation bug. The compiler needs a lot of mem and does not create
|
||||
interfaces.ppu.
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user