hi,
I'm writing a software that creates freepascal code from glade's xml output. Am I the first who had this idea? :-)
tk.

Mailing lists / fpc-pascal / 2000-10
9 messages · 6 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
hi,
I'm writing a software that creates freepascal code from glade's xml output. Am I the first who had this idea? :-)
tk.
hi, I'm writing a software that creates freepascal code from glade's xml output. Am I the first who had this idea? :-)
Not the first one with the idea. But i guess the first one who really has started the glade xml -> pas conversion.
I did a while back a quick hack in glade 3.5 to support outputting gtk code. editform.pp in the gtk examples is output of glade without any editting afterwards.
I'm writing a software that creates freepascal code from glade's xml output. Am I the…
Hi!
I'm writing a software that creates freepascal code from glade's xml output. Am I the first who had this idea? :-)
At the moment I'm writing on an OOP wrapper of GTK+ for FPC. It's far away from being ready, but if you like, you can have a you are interested in implementing your xml->pas translator with my GTKpas, please let me know.
Bye
Hansi
Not the first one with the idea. But i guess the first one who really has started the…
This is kinda on the same subject.. but I was wondering if there has been any efforts put towards converting the QT librarys for use with Free Pascal? If there isn't anyone currently working on it, can someone point me on where to go so that I may take a crack at it?
Matt
Currently it is only possible by using a C wrapper around Qt, then you can write a Free Pascal unit as interface for this C wrapper.
- Sebastian
Sooo... is anybody doing this now? (I take it QT is C++ based?)
Matthew Bradford wroteSooo... is anybody doing this now? (I take it QT is C++ based?)
Don't think so. Yes, Qt is a C++ library and therefore it is not possible to link directly against the Qt library.
I personally can only give the advice to just use GTK instead; using Qt is not easily possible and will be quite painful. (as Qt is more a complete framework with classes for almost everything, while GTK concentrates on GUI stuff.)
- Sebastian
This is kinda on the same subject.. but I was wondering if there has been any efforts put…
Cliff Baeseman started some work on the Qt libraries for the Lazarus project. If you checkout Lazarus from CVS or get a source snapshot it has the interface work that was being done for Qt. I don't believe he has done any work on it for some time but it might be something for you to start with.
Hmmm... I might have to check that out. But the thought of writing a C wrapper to simulate OOP and then writing another Pascal wrapper to take that simulated OOP and make it real again just doesn't really appeal to me. :) I am thinking I will just wait until FPC and import C++ stuffs. Isn't that supposed to be in 1.2? Or is that still way far off in the distance?
Matt