Sign in Join

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

Mailing lists / fpc-pascal / 2005-01

development with mac os / cross platform

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Harald Lapp

hello,
i'm rather new to this list and i've a question regarding freepascal development with mac os x. i would like to know, if anyone activly develops gui applications with osx or if it's anyhow possible to do so and if so, what gui toolkits there are available that provide language bindings for freepascal.

i would also like to know if anybody succesful develops cross platform gui applications for windows and linux (and maybe osx). are there any interesting articles/hints i can find somewhere in the web?

thanks,
regards
harald

http://www.pixelquelle.de/ Deine kostenlose Bilddatenbank für lizenzfreie Fotos

Reply by email

Jonas Maebe
to Harald Lapp
Harald Lapp wrote
i would like to know, if anyone activly develops gui applications with osx or if it's anyhow possible to do so and if so, what gui toolkits there are available that provide language bindings for freepascal.

Apple's universal interfaces have Pascal bindings. They allow you to program using the Carbon interface. See
http://www.freepascal.org/xcode.html for more information.

i would also like to know if anybody succesful develops cross platform gui applications for windows and linux (and maybe osx). are there any interesting articles/hints i can find somewhere in the web?

That is harder. Two possibilities are WxWindows (also works under Mac OS X, but I don't know about Pascal bindings) and gtk (only works under X11 under Mac OS X), but I doubt you will be able to write one interface which looks native for all platforms, regardless of which toolkit you use.

Jonas

Reply by email

Adriaan van Os
to Jonas Maebe
Jonas Maebe wrote 10 lines
> i would also like to know if anybody succesful develops cross > platform gui applications for windows and linux (and maybe osx). > are there any interesting articles/hints i can find somewhere in > the web? That is harder. Two possibilities are WxWindows (also works under Mac OS X, but I don't know about Pascal bindings) and gtk (only works under X11 under Mac OS X), but I doubt you will be able to write one interface which looks native for all platforms, regardless of which toolkit you use.

Gtk also runs natively on Mac OS X, see
<http://gtk-osx.sourceforge.net/> in beta stage
<http://gtk-quartz.sourceforge.net/> under development <http://developer.apple.com/documentation/Porting/Conceptual/ PortingUnix/unix_environments/chapter_7_section_6.html> overview

And what about Lazarus ?

Regards,

Adriaan van Os

Reply by email

Unknown author
to Adriaan van Os
Show quoted text 20 lines
Jonas Maebe wrote: >> i would also like to know if anybody succesful develops cross >> platform gui applications for windows and linux (and maybe osx). >> are there any interesting articles/hints i can find somewhere in >> the web? > > That is harder. Two possibilities are WxWindows (also works under Mac > OS X, but I don't know about Pascal bindings) and gtk (only works > under X11 under Mac OS X), but I doubt you will be able to write one > interface which looks native for all platforms, regardless of which > toolkit you use. Gtk also runs natively on Mac OS X, see <http://gtk-osx.sourceforge.net/> in beta stage <http://gtk-quartz.sourceforge.net/> under development <http://developer.apple.com/documentation/Porting/Conceptual/ PortingUnix/unix_environments/chapter_7_section_6.html> overview And what about Lazarus ?

Yes, it should work for Linux, Windows and Mac OS X (under X11).

The latter should be considered beta
, and might not compile at the moment, but I have tried it previously and at least it is possible to make hello world style GUI programs.

See www.lazarus.freepascal.org.

A carbon version is planned but not much work has been done on that atm.

Olle

Reply by email

Jonas Maebe
to Adriaan van Os: Gtk also runs natively on Mac OS X, see <http://gtk-osx.sourceforge.net/> in beta stage…
Adriaan van Os wrote 7 lines
Gtk also runs natively on Mac OS X, see <http://gtk-osx.sourceforge.net/> in beta stage <http://gtk-quartz.sourceforge.net/> under development <http://developer.apple.com/documentation/Porting/Conceptual/ PortingUnix/unix_environments/chapter_7_section_6.html> overview And what about Lazarus ?

Lazarus only supports gtk and win32 currently, so you end up in the same situation as above.

Jonas

Reply by email