[Tutor] Gui recommendations requested: Which GUI wxPython or PyQT ?

Magnus Lyckå magnus@thinkware.se
Tue May 6 19:26:19 2003


At 11:16 2003-05-06 -0700, Tony Cappellini wrote:
>I've installed Boa & wx Python and am going through the tutorial.
>Pretty good functionality for the alpha version.

I haven't used Boa seriously. Not at all as GUI builder actually,
but I saw that the debugger seemed to work nicely, which is not so
common with GUI programs.

My best advice is to go through the wxPython demo, and look at
the source code for that, and to join the wxpython mailing list.
There's also some helpful stuff at the wiki.

BTW, you should note that they are changing the library layout,
so that it should be possible to write

import wx
f = wx.Frame(...)

instead of the ugly

from wxPython.wx import *
f = wxFrame(...)

as you would today. There are some wrappers already, and if you
start coding now, you might perhaps use the new style at once, but
I don't think it will work out of the box yet. You need some extras.

Concerning Qt, Trolltech is free to licence things the way they
want. I assume anyone could take the GPL code and try to port it
to Windows, so that there is a GPL version there as well, but that's
a lot of work. After all, MFC isn't very similar to the X Window
system... I don't think Trolltech has any desire to GPL their Win32
code, and as sole copyright holders of Qt, the viral aspects of GPL
won't affect them. They can't loose the right to use their own code
by not following GPL. GPL is for the people who license their code.
Also, a GPL GUI toolkit is fairly limiting...


--
Magnus Lycka (It's really Lyckå), magnus@thinkware.se
Thinkware AB, Sweden, www.thinkware.se
I code Python ~ The shortest path from thought to working program