[Lazarus] LNet und QT

zeljko zeljko at holobit.net
Tue Jan 12 13:20:26 CET 2010


On Tuesday 12 January 2010 12:30, Thomas Moritz wrote:
> Hello,
> build "lnetvisual" with Lazarus (qt) gives errors, but "lnetbase" is OK.
> (x86_64 _and_ i586 Lazarus svn)
> Here is the output:
>
> Free Pascal Compiler version 2.4.0 [2010/01/06] for x86_64
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Linux for x86-64
> Compiling lnetvisual.pas
> Compiling lclnet.pas
> lclnet.pas(45,15) Error: Forward declaration not solved
> "TLCLEventer.HandleIgnoreError(TLHandle);" lclnet.pas(46,15) Error: Forward
> declaration not solved "TLCLEventer.HandleIgnoreWrite(TLHandle);"
> lclnet.pas(47,15) Error: Forward declaration not solved
> "TLCLEventer.HandleIgnoreRead(TLHandle);" lclnet.pas(48,15) Error: Forward
> declaration not solved "TLCLEventer.InternalUnplugHandle(TLHandle);"
> lclnet.pas(50,15) Error: Forward declaration not solved
> "TLCLEventer.HandleEvents(Int64,LongWord);" lclnet.pas(58,14) Error:
> Forward declaration not solved "TLCLEventer.AddHandle(TLHandle):Boolean;"
> lclnet.pas(81) Fatal: There were 6 errors compiling module, stopping
> TExternalToolList.Run Exception:
> /home/mori/Lazarus_qt45/lnet/lazaruspackage/lclnet.pas(81) Fatal: There
> were 6 errors compiling module, stopping ERROR: tool reported error
>
> Build with gtk2 is OK ! 

What's your laz version ? That problem existed some time ago (under win32 
only) until Den changed type names (HDC -> QHDC) etc.
If you don't have latest laz svn please update, also update qt bindings to v 
1.72.
btw. your errors does not show any qt error :)

zeljko




More information about the Lazarus mailing list