[Mono-list] Qtcsharp / Windows.Forms

Richard Dale Richard_Dale@tipitina.demon.co.uk
Thu, 28 Mar 2002 17:38:22 +0000


On Thursday 28 March 2002 3:48 am, Jason Keirstead wrote:
> Yes, just about 30 mins after I fired that email off, I downloaded the
> lates mono and low and behold, I was able to compile some sample QT
> programs using it, in Linux nonetheless. I was shocked and stupified to
> say the least, but that is a Good Thing(tm).
>
> I took a trip over to the Trolltech website, and Googled around a bit,
> but was unable to find any information on a free developers release of
> Qt 3.0 for Windows. (there is a commercial version, but as a poor
> student I have not the funds for such a thing). Do the QtC / QtCSharp
> bindings work / build with Qt 2.3 ? If so, I'll start messing around
> with a Windows build.
There are QtC bindings for Qt 2.3 in the KDE_2_2_BRANCH of the cvs. The lack 
of a free version of Qt 3 for Windows is a big problem. People regularly ask 
about it on the qt-interest list, but never get an answer. Porting the Qt 2.3 
bindings to Windows should only be about a days work, not difficult. But I 
personally don't have a Windows machine, so I wouldn't be able to do it.

> Re the Windows.Forms, I now realize after checking out the bindings and
> how they are implimented I was a bit over-enthusiastic. I was just
> excited that I no longer have to depend on Windows for my GUI C#
> development. Nonetheless, I am definitly going to be keeping an eye on
> QtCSharp's status.
>
> Keep up the good work Adam!
>
> Adam Treat wrote:
> >>1) Is it possible to build a libqtc.dll for Windows, so that programs
> >>written in qtcsharp can be run in windows?
> >
> >The best person to awnser to this question is Richard Dale.  My guess is
> > no at this time, but it should be possible with a little work... hint,
> > hint ;-)
> >
> >>2) If 1 is possible (or if mono 0.10 is advanced along enough so as to
> >> make building test programs on linux possible, dunno haven't gotten a
> >> change to check it out yet), and you have not started to do so already,
> >> I would be willing to start helping on a Windows.Forms layer for the
> >> qtcsharp bindings.
> >
> >Mono _is_ advanced enough to start testing qtcsharp.  I haven't built
> > Qt.dll with Mono just yet, but I will attempt shortly.  My guess is that
> > it should not be a problem.
> >
> >About Windows.Forms, this is something that should be developed in
> >coordination with Gtk#.  However, AFAIK Gtk# nor Qt-CSharp are ready for
> > this step.  I will be making some pretty drastic changes to the bindings
> > soon. Stuff like overloaded methods for Qt's default parameters and using
> > the c# string type instead of QString.  As far as Windows.Forms, it might
> > be good to begin thinking about what the layer will look like and how to
> > abstract the backend toolkit out.
> >
> >Cheers,
> >
> >Adam