[fpc-devel] Lazarus: A new widgest set

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 15 09:45:20 CET 2008


On Fri, 15 Feb 2008 09:34:39 +0100
Michael Schnell <mschnell at lumino.de> wrote:

> 
> > Can you send me the patch so far? 
> I'm (still) not familiar with diff / patch files, but it's really
> such a tiny difference that I easily can tell it in English ( :) ):
> 
> in ide/lazconf.pp I added at the end of line 56
>   , 'nogui'
> 
> and at the end of line 59
>  , 'noGUI'
> 
> 
> accordingly in /lcl/interfacebase.pp line 65 I added
>   , lpnoGUI
> 
> 
> moreover I created directories lcl/interfaces/nogui and 
> lcl/units/i386-win32/nogui (doing the first test in WinXP)
> for a test i copied interfaces.pp from lcl/interfaces/win32 into 
> lcl/interfaces/nogui
> 
> With that I can select noGUI as a new widgetset (right below fpGUI)
> in the project-options -> compile settings.
> 
> When compiling a simple project I get "unit interfaces not found". 
> obviously the new directory lcl/interfaces/nogui is not acknowledged
> due to a cause I can't detect. 

This is not obvious to me.


> I would have expected compile errors
> when actually  compiling lcl/interfaces/nogui/interfaces.pp.
> > Then I can take look.

The IDE does not compile the LCL automatically, so the
interfaces.ppu was not created. You can compile the new widgetset with
'configure build lazarus'.


Mattias



More information about the fpc-devel mailing list