Re: [Lazarus] LNet und QT

2010-01-12 Thread zeljko
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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LNet und QT

2010-01-12 Thread ik
On Tue, Jan 12, 2010 at 13:30, Thomas Moritz thm...@thmoritz.de 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


As far as I know, lnet was never built to support QT. It requires you to
implement some required methods and functions that are implemented for GTK
2.

Ales is not on the list anymore, so I do not know if that was changed.



 Build with gtk2 is OK!

 Best regards!

 Th. Moritz

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Ido
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LNet und QT

2010-01-12 Thread zeljko
On Tuesday 12 January 2010 13:23, ik wrote:

 As far as I know, lnet was never built to support QT. It requires you to
 implement some required methods and functions that are implemented for GTK
 2.

 Ales is not on the list anymore, so I do not know if that was changed.


What is missing in lnet for qt support ? Where I can download that package ?

zeljko

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LNet und QT

2010-01-12 Thread ik
http://ik.homelinux.org/


On Tue, Jan 12, 2010 at 14:53, zeljko zel...@holobit.net wrote:

 On Tuesday 12 January 2010 13:23, ik wrote:

  As far as I know, lnet was never built to support QT. It requires you to
  implement some required methods and functions that are implemented for
 GTK
  2.
 
  Ales is not on the list anymore, so I do not know if that was changed.
 

 What is missing in lnet for qt support ? Where I can download that package
 ?


I think you should add it yourself and send it to Ales to commit it to the
svn.
I do not know what is missing, I'm using GTK2 myself. The only thing I'm
using from the QT binding is webkit (in one project of mine).



 zeljko

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



Ido
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LNet und QT

2010-01-12 Thread zeljko
On Tuesday 12 January 2010 13:56, ik wrote:

 I think you should add it yourself and send it to Ales to commit it to the
 svn.

Well, I've asked where I can download lnet , not about changes etc ...


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LNet und QT

2010-01-12 Thread Tomaž Zupan
Tuesday 12 January 2010 14:40:44 je Thomas Moritz napisal:
 
  Well, I've asked where I can download lnet , not about changes
   etc ...

 http://svn.freepascal.org/svn/fpcprojects/lnet/trunk

here too:
http://sourceforge.net/projects/lazarus-ccr/files/

Lp, Tomaž

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LNet und QT

2010-01-12 Thread zeljko
On Tuesday 12 January 2010 14:45, Tomaž Zupan wrote:
 Tuesday 12 January 2010 14:40:44 je Thomas Moritz napisal:
   Well, I've asked where I can download lnet , not about changes
etc ...
 
  http://svn.freepascal.org/svn/fpcprojects/lnet/trunk

 here too:
 http://sourceforge.net/projects/lazarus-ccr/files/

tnx, seem that QSocketNotifier class is missing in our bindings and 
QEventSockAct need to be implemented for this purpose.
I'll ask Den to add it into bindings and after that I can implement it.

zeljko

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus