Thread overview
Can I use Qt in D?
Oct 13, 2002
Dr.Dizel
Oct 14, 2002
Jonathan Andrew
Oct 14, 2002
Dr.Dizel
Oct 19, 2002
Steven Shaw
October 13, 2002
Any example?


October 14, 2002
Dr.Dizel wrote:
> Any example?
> 
> 

Unfortunately since Qt is written for C++, I don't think there
is any easy way to use the Qt classes from D. AFAIK, D
is unable to call C++ functions, and I don't think there are any
wrappers for Qt that allow it to be used by any other language.
D can be used with any other toolkit that utilizes plain C functions,
as long as you are careful about passing data to them.

If someone has more info about this, please let me know.

Jon

October 14, 2002
In article <3DA9B426.9000909@ece.arizona.edu>, Jonathan Andrew says...

But anybody can port it to D. Who is a volunteer? :)

>Unfortunately since Qt is written for C++, I don't think there
>is any easy way to use the Qt classes from D. AFAIK, D
>is unable to call C++ functions, and I don't think there are any
>wrappers for Qt that allow it to be used by any other language.
>D can be used with any other toolkit that utilizes plain C functions,
>as long as you are careful about passing data to them.
>
>If someone has more info about this, please let me know.
>
>Jon
>


October 19, 2002
You can call C++ using some "extern C" functions written in C++. Some people related to the Mono project have developed Qt for C#:

    http://qtcsharp.sourceforge.net/

It is based on a Qt C wrapper. It would be a good place to look for inspiration.

Steve.