LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   distributing a pyqt application (https://www.linuxquestions.org/questions/programming-9/distributing-a-pyqt-application-340612/)

dwight 07-06-2005 10:58 AM

distributing a pyqt application
 
I am building an application in python and would also like it to have a gui. I started to do this with PyQt. Everything works as it should, but now i got a bit of a problem. The reason I chose Qt was that it was claimed that it ran "everywhere". It is important to me that the program is usable in windows as well as in linux, so I chose Qt. But now everywhere I read it says that you need a commercial licence for Qt in windows. So.. This the point I don't get, and sorry if it's a stupid question: I understand that one would need a commercial licence do develop with Qt in windows, but does one also need it to simply run Qt apps in windows??
In that case I will have to choose some other GUI toolkit. If not then how do I make a package in linux that someone in windows can extract and run the program? With distutils?

vharishankar 07-06-2005 11:40 AM

Other choices are py-gtk or tkinter.

dwight 07-06-2005 11:56 AM

Thanks, but I knew of these already. I chose Qt over the others escpecially because it boasted better integration with other OS's. But are you saying then that I do need a licence to run Qt apps on windows? It's hard for me to believe that. Why would anyone use Qt if their application doesn't work out of the box? Oh, I should of course mention that my application isn't commerical or anything. Sort of a academic project.

Crashed_Again 07-06-2005 01:17 PM

WxPython is becoming increasingly popular. I've done very little GUI programming in python but I'm trying to learn py-gtk myself. Only because I had a long conversation with many python heads on irc one night and most of them use py-gtk for various reasons.

dwight 07-06-2005 03:01 PM

Ok, thanks. WxPython is what i'll try next if pyqt doesn't work out (or maybe py-gtk). But the main issue for me is how well it works in windows unfortunately. If i had to make my app to be used only in linux i'd be happy to try out each of the major gui toolkits and see which was easiest to use and/or most suitable for me. Unfortunately I have to present my app to the institute director and it would be preferable if he could launch the program with as little as fuss as possible. I can't expect him to start installing dozens of dependencies just to see what i've done.


All times are GMT -5. The time now is 11:32 PM.