Sign in Join

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

Mailing lists / fpc-pascal / 2000-10

Glade/Gtk+ and FreePascal

9 messages · 6 people ·

Reply by email Subscribe to this list Your subscription

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

Peter Vreman
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.

Reply by email

Johann Glaser
to Tjabo Kloppenburg: 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

Johann Glaser Vienna University of Technology Electrical Engineering http://stud3.tuwien.ac.at/~e9825761/index.html

Reply by email

Matthew Bradford
to Peter Vreman: 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

Show quoted text 17 lines
> 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. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Sebastian Günther
to Matthew Bradford
Matthew Bradford wrote 5 lines
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?

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

Reply by email

Matthew Bradford
to Sebastian Günther

Sooo... is anybody doing this now? (I take it QT is C++ based?)

Show quoted text 17 lines
Matthew Bradford wrote: > > 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? 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 _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Sebastian Günther
to Matthew Bradford
Matthew Bradford wrote
Sooo... 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

Reply by email

Michael A. Hess
to Matthew Bradford: This is kinda on the same subject.. but I was wondering if there has been any efforts put…
Matthew Bradford wrote 5 lines
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?

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.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Matthew Bradford
to Michael A. Hess

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

Show quoted text 14 lines
Matthew Bradford wrote: > > 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? 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.

Reply by email