qt or gtk?

Jeff Shannon jeff at ccvcorp.com
Mon Jun 18 14:45:29 EDT 2001


elf at halcyon.com (Elf Sternberg) wrote in message news:<9gk8he$8gl$1 at brokaw.wa.com>...
> In article <slrn9ios1q.el.sill at sill.silmarill.org> 
>     sill at optonline.net (Rainy) writes:
> 
> >>         Qt is distributed under the GNU Public License and TrollTech's
> >> Commercial License.  What this means is that if you write a program
> >> using Qt, you have two choices: you can distribute your program in the
> >> whole, source code and all, or your can pay TrollTech's licensing
> >> contract and keep your source code secret.  
>  
> >Is this true for both qt for X and qt for windows or only for X qt?
> 
>         The GNU Public License does not specify what operating systems
> it applies to.  If you can build or modify the GPL version of QT to work
> with the Windows operating system, then you can build GPL programs for
> Windows with QT.
> 
>                 Elf

But if (as was stated before) only the X11 codebase is available under
GPL, then the fact that the license doesn't specify an OS is a technical 
detail.  In order to run the GPL version under Windows, you would essentially
be emulating Unix on Windows (cygwin + X-server), with all the little
gotchas that tend to come with emulation.  Of course, if the X11 
source is GPL, then you could, in theory, port that to Win32 yourself.... 

Personally, I'd rather use wxPython.  It's OS-independent, seems fairly 
simple to use, and tries to provide OS-native look-and-feel as much as is
practical.  Tkinter is similarly OS-independent, but (as someone else 
mentioned) the look of Tk seems somehow.... off.  Tkinter also requires a 
running installation of TCL, and passes all commands through that, which I'm
not too thrilled about (though this is mostly an aesthetic issue).

Jeff Shannon
Technician/Programmer
Credit International



More information about the Python-list mailing list