favorite GUI lib for D

Thomas Brix Larsen brix at brix-verden.dk
Sun Sep 16 11:29:39 PDT 2007


Bill Baxter wrote:

> Bedros Hanounik wrote:
>> another question, how much work needed to create D bindings for QT 4.2. (
>> assuming 32bit)
> 
> Truckloads.  The best bet would probably be to look at what other
> bindings are out there and see if anyone is doing it in a way that would
> work for D too.  For instance SWIG wrappers won't help D.  But an
> approach that involves creating an actual C API to wrap the library
> will.  For instance with wxD, the C-bindings to wxWidgets are shared by
> D and the C# bindings.
> 
> Maybe the Qt bindings for C# are using the same wrap-with-C approach?
> Found this: http://cougarpc.net/qyoto/
> but I couldn't find any info about how they gen the bindings just that
> "it's automatic".

They seem to be using SMOKE:
http://techbase.kde.org/Development/Languages/QtSharp

An easier approach could be wrapping pyqt using pyd, but I'm not sure of how
or whether this would work.

- Brix




More information about the Digitalmars-d mailing list