Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-02-01 Thread Vladimir Zhirov
Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. AFAIK, Lua uses automatically generated plain C binding. When I looked at it, the binding generator consisted of the following parts: 1) A C++-based program to parse C++

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-02-01 Thread zeljko
On Wednesday 01 of February 2012 21:02:38 Vladimir Zhirov wrote: Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. AFAIK, Lua uses automatically generated plain C binding. When I looked at it, the binding generator

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-31 Thread waldo kitty
On 1/30/2012 03:26, zeljko wrote: On Monday 30 of January 2012 08:35:23 waldo kitty wrote: i may have easily misunderstood the OP's post... i tend to read in literan english format... ie: if you say eggs are round, that is where i base my response unless it is very obvious that there is

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread michael . vancanneyt
On Sun, 29 Jan 2012, Krzysztof wrote: Just as I thought - it is object class thing. So if FPC does not (fully) support directly calling external C++ libraries there are plans to support it? This will be great There are no plans to support it, since every C++ compiler uses it's own

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread zeljko
On Monday 30 of January 2012 08:35:23 waldo kitty wrote: i may have easily misunderstood the OP's post... i tend to read in literan english format... ie: if you say eggs are round, that is where i base my response unless it is very obvious that there is something else to consider which i point

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread Lars
waldo kitty wrote: On 1/29/2012 17:38, Lars wrote: Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. :( i don't nderstand why one would want to apply interpreted script languages, al la BASIC, to today's tasks...

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread Lars
Felipe Monteiro de Carvalho wrote: On Sun, Jan 29, 2012 at 11:38 PM, Lars nore...@z505.com wrote: Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. No idea, but Python, ruby, lua and php do not generate real programs

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread Sven Barth
Am 30.01.2012 07:53 schrieb zeljko zel...@holobit.net: On Sunday 29 of January 2012 22:16:45 Krzysztof wrote: Just as I thought - it is object class thing. So if FPC does not (fully) support directly calling external C++ libraries there are plans to support it? This will be great

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread zeljko
On Monday 30 of January 2012 11:51:10 Den Jean wrote: On Monday 30 January 2012 09:28:00 michael.vancann...@wisa.be wrote: There are no plans to support it, since every C++ compiler uses it's own (incompatible) format, and G++ changes it format regularly, so I was given to understand.

RE : [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread Ludo Brands
Eh, I meant how does ruby, lua, objective c, and similar tools bind the C++ api. Do they use an automatic tool that converts QT C++ objects to procedural? or by hand, someone converts the objects to procedures and structs? Or do they use the c++ objects directly to python objects.. The

Re: RE : [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread zeljko
On Monday 30 of January 2012 14:27:10 Ludo Brands wrote: Eh, I meant how does ruby, lua, objective c, and similar tools bind the C++ api. Do they use an automatic tool that converts QT C++ objects to procedural? or by hand, someone converts the objects to procedures and structs? Or do

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread Andrew Haines
On 01/30/12 02:19, Graeme Geldenhuys wrote: On 29 January 2012 16:31, Jonas Maebe wrote: GTK offers a plain C interface. QT only offers a C++ interface. FPC does not (fully) support directly calling external C++ libraries. LibQT4Pas offers a plain C interface to QT for use by FPC. Can

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread Krzysztof
It seems to me that you could compile qt4pas.c (or what ever the source file(s) of libqt4pas.so is) into a qt4pas.o and just link them statically with {$link qt4pas.o} which then would leave out the requirement for libqt4pas.so to be distributed with any program using the qt interface. The

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread Den Jean
On Monday 30 January 2012 23:08:36 Krzysztof wrote: the qt interface. The gpl? license may or may not make that possible the binding and Qt are LGPL ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-30 Thread zeljko
On Monday 30 of January 2012 20:17:22 Andrew Haines wrote: On 01/30/12 02:19, Graeme Geldenhuys wrote: On 29 January 2012 16:31, Jonas Maebe wrote: GTK offers a plain C interface. QT only offers a C++ interface. FPC does not (fully) support directly calling external C++ libraries.

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread Jonas Maebe
On 29 Jan 2012, at 15:29, Krzysztof wrote: But why when I build application on KDE interface I need some external libQT4Pas to run it and my friend need it too (he have KDE so all QT librarys too)? There is no libGTK4Pas so why exists layer libQT4Pas? What is difference between GTK and QT

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread Michael Van Canneyt
On Sun, 29 Jan 2012, Krzysztof wrote: Hi, I am wondering. If I build application for linux using gtk2 widgetset for GNOME (or XFCE etc.) and send this program to my friend, then he can run it without any external librarys (of course if he have gnome too), this same thing on windows. But why

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread Krzysztof
Just as I thought - it is object class thing. So if FPC does not (fully) support directly calling external C++ libraries there are plans to support it? This will be great 2012/1/29 Michael Van Canneyt mich...@freepascal.org: On Sun, 29 Jan 2012, Krzysztof wrote: Hi, I am wondering. If I

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread Lars
Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. Krzysztof wrote: Just as I thought - it is object class thing. So if FPC does not (fully) support directly calling external C++ libraries there are plans to support it?

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread waldo kitty
On 1/29/2012 17:38, Lars wrote: Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. :( i don't nderstand why one would want to apply interpreted script languages, al la BASIC, to today's tasks... sure, these are neat and

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread zeljko
On Sunday 29 of January 2012 22:16:45 Krzysztof wrote: Just as I thought - it is object class thing. So if FPC does not (fully) support directly calling external C++ libraries there are plans to support it? This will be great Maybe it is possible (or will be possible) to use C++ class, but I

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread zeljko
On Monday 30 of January 2012 03:28:45 waldo kitty wrote: On 1/29/2012 17:38, Lars wrote: Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. : :( i don't nderstand why one would want to apply interpreted script

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread Felipe Monteiro de Carvalho
On Sun, Jan 29, 2012 at 11:38 PM, Lars nore...@z505.com wrote: Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. No idea, but Python, ruby, lua and php do not generate real programs but instead are just scripts which run

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread Graeme Geldenhuys
On 29 January 2012 16:31, Jonas Maebe wrote: GTK offers a plain C interface. QT only offers a C++ interface. FPC does not (fully) support directly calling external C++ libraries. LibQT4Pas offers a plain C interface to QT for use by FPC. Can one statically bind the LibQt4Pas into a FPC

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread waldo kitty
On 1/30/2012 01:55, zeljko wrote: On Monday 30 of January 2012 03:28:45 waldo kitty wrote: On 1/29/2012 17:38, Lars wrote: Do other languages like python use the plain c interface, or C++? how about something like ruby, lua, objective C, php .. : :( i don't nderstand why one