caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* qt / windows gui
@ 2009-03-25 14:00 Joel Reymont
  2009-03-25 14:06 ` [Caml-list] " Alp Mestan
  2009-03-26 14:21 ` Richard Jones
  0 siblings, 2 replies; 5+ messages in thread
From: Joel Reymont @ 2009-03-25 14:00 UTC (permalink / raw)
  To: caml-list

Are there OCaml bindings for QT?

Would OCaml + QT be a good option for a Windows app?

I don't want to go with F# and do want to keep development on the Mac.

	Thanks, Joel

---
http://linkedin.com/in/joelreymont




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] qt / windows gui
  2009-03-25 14:00 qt / windows gui Joel Reymont
@ 2009-03-25 14:06 ` Alp Mestan
  2009-03-26 14:21 ` Richard Jones
  1 sibling, 0 replies; 5+ messages in thread
From: Alp Mestan @ 2009-03-25 14:06 UTC (permalink / raw)
  To: Joel Reymont, caml-list

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

You should take a look at QtCaml :
http://qt-caml.crapulion.org/trac

But people prefer using lablgtk2 when they need GUI in OCaml.

On Wed, Mar 25, 2009 at 3:00 PM, Joel Reymont <joelr1@gmail.com> wrote:

> Are there OCaml bindings for QT?
>
> Would OCaml + QT be a good option for a Windows app?
>
> I don't want to go with F# and do want to keep development on the Mac.
>
>        Thanks, Joel
>
> ---
> http://linkedin.com/in/joelreymont
>
>
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>



-- 
Alp Mestan
In charge of the C++ section on Developpez.com.

[-- Attachment #2: Type: text/html, Size: 1578 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] qt / windows gui
  2009-03-25 14:00 qt / windows gui Joel Reymont
  2009-03-25 14:06 ` [Caml-list] " Alp Mestan
@ 2009-03-26 14:21 ` Richard Jones
  2009-03-30  6:41   ` Grünewald Michaël
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Jones @ 2009-03-26 14:21 UTC (permalink / raw)
  To: Joel Reymont; +Cc: caml-list

On Wed, Mar 25, 2009 at 02:00:18PM +0000, Joel Reymont wrote:
> Are there OCaml bindings for QT?
> 
> Would OCaml + QT be a good option for a Windows app?

What's wrong with Gtk for this?  It now supports native Mac widgets
via: http://live.gnome.org/GTK%2B/OSX

We also have a very thorough set of bindings for Gtk (lablgtk2).

Rich.

-- 
Richard Jones
Red Hat


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] qt / windows gui
  2009-03-26 14:21 ` Richard Jones
@ 2009-03-30  6:41   ` Grünewald Michaël
  2009-03-30  8:20     ` Joel Reymont
  0 siblings, 1 reply; 5+ messages in thread
From: Grünewald Michaël @ 2009-03-30  6:41 UTC (permalink / raw)
  To: Richard Jones; +Cc: Joel Reymont, caml-list


Le 26 mars 09 à 15:21, Richard Jones a écrit :

> On Wed, Mar 25, 2009 at 02:00:18PM +0000, Joel Reymont wrote:
>> Are there OCaml bindings for QT?
>>
>> Would OCaml + QT be a good option for a Windows app?
>
> What's wrong with Gtk for this?  It now supports native Mac widgets
> via: http://live.gnome.org/GTK%2B/OSX

Hi Richard,

Did you have Gtk+ working natively in OSX?

I tried to have it, using the Macports framework. The lablgtk2 build  
failed, because of X11 specific functions (there is few of them, e.g.  
one to get the XID of a window). Thus, lablgtk2 should be lightly  
modified in order to link against native GTK2 widgets on OSX/macports.

(Note that I am not sure that the URL you referred to points to the  
sources used by macports. The above information may be useful to some,  
though.)
-- 
Cheers,
Michaël


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] qt / windows gui
  2009-03-30  6:41   ` Grünewald Michaël
@ 2009-03-30  8:20     ` Joel Reymont
  0 siblings, 0 replies; 5+ messages in thread
From: Joel Reymont @ 2009-03-30  8:20 UTC (permalink / raw)
  To: Grünewald Michaël; +Cc: Richard Jones, caml-list


On Mar 30, 2009, at 7:41 AM, Grünewald Michaël wrote:

> Did you have Gtk+ working natively in OSX?


I do but I built from source after downloading the GTK+/OSX frameworks  
and using ./configure --with-quartz

I also had to place the following two (identical) files in /opt/local/ 
lib/pkgconfig since my pkg-config comes from MacPorts:

gtk+-2.0.pc, gtk+-quartz-2.0.pc:

prefix=/opt/local
exec_prefix=${prefix}
datarootdir = @datarootdir@
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib
libexecdir=${exec_prefix}/libexec
includedir=${prefix}/include
datadir=/opt/local/share/doc

Name: GTK+
Description: a modern implementation of DBM
Version: 2.14.3
Libs: -framework Gtk -framework GLib -framework Cairo
Cflags: -I/Library/Frameworks/Gtk.framework/Headers -I/Library/ 
Frameworks/GLib.framework/Headers -I/Library/Frameworks/ 
Cairo.framework/Headers


---
http://tinyco.de
Mac, Lisp, OCaml





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-30  8:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-25 14:00 qt / windows gui Joel Reymont
2009-03-25 14:06 ` [Caml-list] " Alp Mestan
2009-03-26 14:21 ` Richard Jones
2009-03-30  6:41   ` Grünewald Michaël
2009-03-30  8:20     ` Joel Reymont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).