D - Can I use Qt in D?
- Dr.Dizel <Dr.Dizel_member pathlink.com> Oct 12 2002
- Jonathan Andrew <jon ece.arizona.edu> Oct 13 2002
- Dr.Dizel <Dr.Dizel_member pathlink.com> Oct 14 2002
- "Steven Shaw" <steven_shaw iprimus.com.au> Oct 19 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
Oct 13 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
Oct 14 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.
Oct 19 2002








"Steven Shaw" <steven_shaw iprimus.com.au>