Qt wrapper for D
Gregor Richards
Richards at codu.org
Sun Feb 18 01:51:04 PST 2007
John Demme wrote:
> Ritesh Nadhani wrote:
>
>
>>Hello
>>
>>We recently started working on a generic configuration tool and we were
>>planning to write it in D language. Now lot of our GUI bindings are
>>written in Qt. We would like to have a Qt wrapper for D but doing a google
>>didnt throw up anything.
>>
>>So we were wondering if writing a wrapper for Qt ourselves would be
>>manageable? Is it very complex to write a wrapper for Qt for D?
>>
>>Any pointers on how to start writing wrappers for languages? We dont have
>>any knowledge in this regard.
>>
>>Ritesh
>
>
> I don't know of any bindings for QT. This is probably because it is a very
> complex C++ library, and D cannot call C++ code directly. You might take a
> look at BCD, though:
> http://www.dsource.org/projects/bcd
>
> Theoretically, you throw bcd at some C++ header files, and it'll create the
> C-layer for you. I don't know how well it actually works, though.
>
> If you do get bindings for QT working, please post them somewhere! I'm sure
> that they'd be quite popular. It think I've seen requests for it before.
>
bcd.gen can't realisitically bind the Qt C++ headers. At least not now.
I would use bcd.gen to bind the QtC headers though. It's much, much
easier than doing it by hand.
- Gregor Richards
More information about the Digitalmars-d
mailing list