From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA09351; Thu, 14 Jun 2001 08:57:59 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA09460 for ; Thu, 14 Jun 2001 08:57:58 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f5E6vuj29439 for ; Thu, 14 Jun 2001 08:57:57 +0200 (MET DST) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id PAA14457; Thu, 14 Jun 2001 15:57:44 +0900 (JST) To: adridg@sci.kun.nl Cc: caml-list@inria.fr Subject: Re: [Caml-list] Repeat: is there a Qt binding for OCaml? In-Reply-To: <200106132037.WAA02662@adridg.sci.kun.nl> References: <200106132037.WAA02662@adridg.sci.kun.nl> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010614155744J.garrigue@kurims.kyoto-u.ac.jp> Date: Thu, 14 Jun 2001 15:57:44 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > It was last asked midway through 2000: is there a Qt binding for OCaml? > > Within the KDE community there are several developers who would really be > interested in working on Qt -- and KDE -- bindings for OCaml, but there's no > sense in that if they already exist. In particular, there was mention of a > partially working Qt binding -- perhaps the author of that could give me a > ring? I was probably the one. All I did was an embryo of interface, entirely hand written. So if you are courageous, go ahead. There will be no duplication. If you're curious, I can send you my attempt. > What's the point, you ask, of Qt bindings (as opposed to Gtk > bindings which we all know exist already)? It's probably a religious > thing. But I know C++ gets me down some days, and I'd like to do > something functional and OO at the same time. Besides, I think OCaml > + Qt is a good choice vs. Clean + w98, but that's a whole other > flamewar. I see perfectly the point. The trouble is that C++ is rather hard to interface to, due to the staticness of its compilation. You may have to write several wrappers for methods, depending on the position of the class in the hierarchy... Gtk's dynamic model is easier. Anyway, Qt is a wonderful toolkit, and having an interface to it would be nice. Another interesting work to do is building an interface for Cocoa (Nextstep by its old name). This might prove much easier, since Objective C is more dynamic, and a closer match for ocaml's OO. Cheers, Jacques Garrigue ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr