Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-01

LNet und QT

11 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Thomas Moritz

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!

Best regards!

Th. Moritz

Reply by email

zeljko
to Thomas Moritz
Thomas Moritz wrote 25 lines
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

Reply by email

ik
to Thomas Moritz: build "lnetvisual" with Lazarus (qt) gives errors, but "lnetbase" is OK. (x86_64 _and_…
Thomas Moritz wrote 28 lines
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.

Show quoted text 13 lines
Build with gtk2 is OK! Best regards! Th. Moritz -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100112/9828205f/attachment.html>

Reply by email

zeljko
to ik
ik wrote 6 lines
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

Reply by email

ik
to zeljko

http://ik.homelinux.org/

zeljko wrote 13 lines
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).

Show quoted text 9 lines
zeljko -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100112/77e61150/attachment.html>

Reply by email

Thomas Moritz
to zeljko: What's your laz version ? That problem existed some time ago (under win32 only) until Den…
zeljko wrote 6 lines
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 :)

Lazarus: SVN 23426
LNet: SVN 2340
QT-Bindings: 1.72

Last build at 14:00 with same errors with QT.
With GTK2 it's OK!

Best regards

Th. Moritz

Reply by email

zeljko
to Tomaž Zupan
Toma? Zupan wrote 8 lines
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

Reply by email

Thomas Moritz
to zeljko
zeljko wrote
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.

Excellently! Much obliged! zeljko

Best regards!
Th. Moritz

Reply by email