LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2005, 10:58 AM   #1
dwight
LQ Newbie
 
Registered: Sep 2004
Location: Estonia
Distribution: Arch
Posts: 14

Rep: Reputation: 0
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?
 
Old 07-06-2005, 11:40 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Other choices are py-gtk or tkinter.
 
Old 07-06-2005, 11:56 AM   #3
dwight
LQ Newbie
 
Registered: Sep 2004
Location: Estonia
Distribution: Arch
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 07-06-2005, 01:17 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 07-06-2005, 03:01 PM   #5
dwight
LQ Newbie
 
Registered: Sep 2004
Location: Estonia
Distribution: Arch
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PyQt conflict with existing smoke install mydimension Linux - Software 0 06-04-2005 11:28 AM
Distributing Mandrake 10.1 Nawas111 Mandriva 11 01-05-2005 05:07 PM
PyQt installation help for Debian linux kst Linux - Software 0 10-28-2004 09:52 PM
pykde ,sip and pyqt question ngan_yine Linux - Software 0 01-31-2004 02:51 AM
Problem installing PyQT and Xemacs Manuel Tejada Red Hat 0 09-09-2003 09:13 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration