View mode: basic / threaded / horizontal-split · Log in · Help
October 13, 2002
Can I use Qt in D?
Any example?
October 14, 2002
Re: Can I use Qt in D?
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
Re: Can I use Qt in D?
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
Re: Can I use Qt in D?
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.
Top | Discussion index | About this forum | D home