By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,209 Members | 1,706 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,209 IT Pros & Developers. It's quick & easy.

PyQt, Qt, Windows and Linux

P: n/a
I am kind of new to Python, and after trying and using wxPython, I found
it kind of lacking in easy-to-read documentation, speed at loading, and
GUI response-time.

So I am looking for an another GUI toolkit that is cross-platform for
Python, and am leaning toward PyQt (PyGTK is kind of dull looking in
comparison). Unfortunately, although TrollTech says Qt is
cross-platform, its license strategy has me a bit confused. So here is
to hoping someone can help...

Objective:
Develop/Write a program for personal use on my Linux using PyQt. Be
able to also run it on Windows.

Questions:
1) Is it legally possible to do that?
2) Do I need to buy a license from TrollTech?
3) Can I create a .exe file for my windows on my Linux and copy it over?
(I would like to develop the program entirely on Linux, but make
executables for other platforms).

Any help would be greatly appreciated. If you guys have another GUI
toolkit for python, then please by all means...

Thx.

Jul 18 '05 #1
Share this Question
Share on Google+
35 Replies


P: n/a
Vamsi Mudrageda wrote:
I am kind of new to Python, and after trying and using wxPython, I found
it kind of lacking in easy-to-read documentation, speed at loading, and
GUI response-time.

So I am looking for an another GUI toolkit that is cross-platform for
Python, and am leaning toward PyQt (PyGTK is kind of dull looking in
comparison). Unfortunately, although TrollTech says Qt is
cross-platform, its license strategy has me a bit confused. So here is
to hoping someone can help...

Objective:
Develop/Write a program for personal use on my Linux using PyQt. Be
able to also run it on Windows.

Questions:
1) Is it legally possible to do that?
Yes.
2) Do I need to buy a license from TrollTech?
Yes, or from one of Trolltech's licensed resellers of licenses. The
cheapest way you can proceed, I believe, is to buy Blackadder, personal
edition, from theKompany.com: it comes with personal-use licenses of
PyQt and Qt for both Linux and Windows (I _think_ mac, too, but I don't
know about that). I believe it currently costs US $70 .
3) Can I create a .exe file for my windows on my Linux and copy it over?
That's an issue for such tools as py2exe and McMillan's "installer"; at
this time, I do not believe they support that "cross-packaging"
functionality. However, you surely _can_ package things up with the
distutils, e.g. into a .zip, and copy over and install that package
on Windows; that may not be quite as smooth but it should work fine.
(I would like to develop the program entirely on Linux, but make
executables for other platforms).


In the approach I'd suggest you WOULD develop entirely on Linux, but
the other platforms would first separately install Python and needed
extensions, then install your specific program by unpacking the .zip
and running "python setup.py install" -- not TOO bad, I think.
Alex

Jul 18 '05 #2

P: n/a
On Sunday 02 November 2003 6:52 pm, Vamsi Mudrageda wrote:
I am kind of new to Python, and after trying and using wxPython, I found
it kind of lacking in easy-to-read documentation, speed at loading, and
GUI response-time.

So I am looking for an another GUI toolkit that is cross-platform for
Python, and am leaning toward PyQt (PyGTK is kind of dull looking in
comparison). Unfortunately, although TrollTech says Qt is
cross-platform, its license strategy has me a bit confused. So here is
to hoping someone can help...

Objective:
Develop/Write a program for personal use on my Linux using PyQt. Be
able to also run it on Windows.

Questions:
1) Is it legally possible to do that?
Yes.
2) Do I need to buy a license from TrollTech?
Yes - and a license for PyQt.
3) Can I create a .exe file for my windows on my Linux and copy it over?
(I would like to develop the program entirely on Linux, but make
executables for other platforms).


That's a function of the different packaging packages available.

Phil
Jul 18 '05 #3

P: n/a
On Sunday 02 November 2003 7:28 pm, Alex Martelli wrote:
Vamsi Mudrageda wrote:
I am kind of new to Python, and after trying and using wxPython, I found
it kind of lacking in easy-to-read documentation, speed at loading, and
GUI response-time.

So I am looking for an another GUI toolkit that is cross-platform for
Python, and am leaning toward PyQt (PyGTK is kind of dull looking in
comparison). Unfortunately, although TrollTech says Qt is
cross-platform, its license strategy has me a bit confused. So here is
to hoping someone can help...

Objective:
Develop/Write a program for personal use on my Linux using PyQt. Be
able to also run it on Windows.

Questions:
1) Is it legally possible to do that?


Yes.
2) Do I need to buy a license from TrollTech?


Yes, or from one of Trolltech's licensed resellers of licenses. The
cheapest way you can proceed, I believe, is to buy Blackadder, personal
edition, from theKompany.com: it comes with personal-use licenses of
PyQt and Qt for both Linux and Windows (I _think_ mac, too, but I don't
know about that). I believe it currently costs US $70 .


No - not Mac.

Phil
Jul 18 '05 #4

P: n/a
Phil Thompson wrote:
On Sunday 02 November 2003 7:28 pm, Alex Martelli wrote:
Vamsi Mudrageda wrote:
I am kind of new to Python, and after trying and using wxPython, I found
it kind of lacking in easy-to-read documentation, speed at loading, and
GUI response-time.

So I am looking for an another GUI toolkit that is cross-platform for
Python, and am leaning toward PyQt (PyGTK is kind of dull looking in
comparison). Unfortunately, although TrollTech says Qt is
cross-platform, its license strategy has me a bit confused. So here is
to hoping someone can help...

Objective:
Develop/Write a program for personal use on my Linux using PyQt. Be
able to also run it on Windows.

Questions:
1) Is it legally possible to do that?


Yes.

2) Do I need to buy a license from TrollTech?


Yes, or from one of Trolltech's licensed resellers of licenses. The
cheapest way you can proceed, I believe, is to buy Blackadder, personal
edition, from theKompany.com: it comes with personal-use licenses of
PyQt and Qt for both Linux and Windows (I _think_ mac, too, but I don't
know about that). I believe it currently costs US $70 .

No - not Mac.

Phil


Maybe I'm missing something new here.........

But as far as I know, you "DO NOT" need to buy a license
from TrollTech or PyQt or buy anything to give it a try, as
long as use is personal and not used in a commercial enviroment.
The only thing is you would have to make do with the older
ver.2.3(?) on windows and many do.

Although I do think BlackAdder is a heck of a deal and would
get you the newest versions for both win and linux.

This is the kind of thing that can scare away someone who
just wants to give it a try to see if they like it.
Once they give it a try, they'll be hooked forever!!!

If I'm wrong, someone let me know.

Hands down, PyQt is the way to go!!!!!!


Jul 18 '05 #5

P: n/a
Ken Godee <ke*@perfect-image.com> writes:
[...]
Maybe I'm missing something new here.........

But as far as I know, you "DO NOT" need to buy a license
from TrollTech or PyQt or buy anything to give it a try, as
long as use is personal and not used in a commercial enviroment.
The only thing is you would have to make do with the older
ver.2.3(?) on windows and many do.

[...]

Yes: if (you're only using unix/linux) OR (you're happy to stick to Qt
2.x AND you're non-commercial), you don't need a license. They were
talking about using Qt 3 on Windows: in that case, you do need a
license from both TT and Phil (ie. you need to buy BlackAdder, unless
you want to spend large quantities of cash for no reason).
John
Jul 18 '05 #6

P: n/a
Thx everyone.

I was really surprised by all the quick responses.

Ok, to sum up my understanding.

I can freely develop and distribute python/pyqt/qt programs on my Linux,
but I must make the program freely available, ie. GPLed. No problem there.

On Windows however, I need to buy a license from TrollTech if I want to
use their latest offerings (or I can explain my situation to them and
let them decide) as they no longer offer the non-commercial license for
Windows. Once I get the license, I can make executables that can run on
other Windows w/o that user having to buy a license for qt or pyqt.

Did I miss anything?

The windows part is a little disappointing (I am a college student,
can't really afford the licenses... tho BlackAdder looks good), and I
hope TT will change something in the future. Qt looks great (according
to KDE), and since my program is mainly for Linux, I guess I will head
in that direction.

Again, thx all.

PS. I will also write my situation to TrollTech as they suggested in
their "we no longer support the non-commercial license" webpage and
report their response back here.

Jul 18 '05 #7

P: n/a
Alex Martelli <al***@aleax.it> writes:
3) Can I create a .exe file for my windows on my Linux and copy it over?


That's an issue for such tools as py2exe and McMillan's "installer"; at
this time, I do not believe they support that "cross-packaging"
functionality.


I'm doing that with the McMillan installer using wine on Linux and it
works for me.

Heike
Jul 18 '05 #8

P: n/a
On Sunday 02 November 2003 9:15 pm, Ken Godee wrote:
Phil Thompson wrote:
On Sunday 02 November 2003 7:28 pm, Alex Martelli wrote:
Vamsi Mudrageda wrote:
I am kind of new to Python, and after trying and using wxPython, I found
it kind of lacking in easy-to-read documentation, speed at loading, and
GUI response-time.

So I am looking for an another GUI toolkit that is cross-platform for
Python, and am leaning toward PyQt (PyGTK is kind of dull looking in
comparison). Unfortunately, although TrollTech says Qt is
cross-platform, its license strategy has me a bit confused. So here is
to hoping someone can help...

Objective:
Develop/Write a program for personal use on my Linux using PyQt. Be
able to also run it on Windows.

Questions:
1) Is it legally possible to do that?

Yes.

2) Do I need to buy a license from TrollTech?

Yes, or from one of Trolltech's licensed resellers of licenses. The
cheapest way you can proceed, I believe, is to buy Blackadder, personal
edition, from theKompany.com: it comes with personal-use licenses of
PyQt and Qt for both Linux and Windows (I _think_ mac, too, but I don't
know about that). I believe it currently costs US $70 .
No - not Mac.

Phil


Maybe I'm missing something new here.........

But as far as I know, you "DO NOT" need to buy a license
from TrollTech or PyQt or buy anything to give it a try, as
long as use is personal and not used in a commercial enviroment.
The only thing is you would have to make do with the older
ver.2.3(?) on windows and many do.


Trolltech no longer distribute the non-commercial version of Qt.

I will look at providing an evaluation version of PyQt that works with the
evaluation version of Qt.
Although I do think BlackAdder is a heck of a deal and would
get you the newest versions for both win and linux.

This is the kind of thing that can scare away someone who
just wants to give it a try to see if they like it.
Once they give it a try, they'll be hooked forever!!!

If I'm wrong, someone let me know.

Hands down, PyQt is the way to go!!!!!!


I can't disagree with that.

Phil
Jul 18 '05 #9

P: n/a
> I'm doing that with the McMillan installer using wine on Linux and it
works for me.

Heike


Could you explain how you are doing that? I tried to understand it, but
it seems to be a little above me :(

I already got Wine properly installed, so could you go from there.

Thx,
Vams

Jul 18 '05 #10

P: n/a
Jim
On 3 Nov 2003 13:21:56 -0800, co************@msn.com (Brian) wrotf:
Alex Martelli <al***@aleax.it> wrote in message news:<KVcpb.399539$R32.
Vamsi Mudrageda wrote:
2) Do I need to buy a license from TrollTech?


Yes, or from one of Trolltech's licensed resellers of licenses. The
cheapest way you can proceed, I believe, is to buy Blackadder, personal
edition, from theKompany.com: it comes with personal-use licenses of
PyQt and Qt for both Linux and Windows (I _think_ mac, too, but I don't
know about that). I believe it currently costs US $70 .


Note that according to the BlackAdder page at thecompany.com, you must
purchase the business edition ($400, currently) if you want the right
to distribute the run-time elements of it. I'm not sure if the OP
only wanted to distribute an app for use on his own windows box, or
distribute his application on the net for use by others.

Trolltech's pricing strategy, for me, keeps me on wxWindows. Qt does
seem like an excellent product, however.


Could someone please explain this to me. I am still a little confused. I am just about to buy
BlackAdder but want to make sure it will suit my needs.

The question I have is this; if I get the Personal Edition, I know I can't distribute the run-time
elements commercially (sell my programs) but can I in distribute them in a non-commercial way?

In other words, if I write a program, I would like to give it to a few of my friends and hence,
would be distributing the runtime components. I don't sell my programs and neither are my friends.
This is totally non-commercial. Do the runtime components come with BlackAdder Personal? Obviously,
I don't completely understand what the Qt runtime components are.

Programming is a hobby for me and I want to write Win32 GUI programs using PyQt but don't want to be
the only one who can enjoy my programs. Specifically, I am writing a numberology program in Python
that I wrote many years ago using VB6 and want to use PyQt and Qt for the GUI design. It seems that
Qt is the only platform which uses Tab Widgets. I couldn't find anything like that in wxPython (I
need multiple tabs) and Qt has a QTab Widget that works perfectly.

Than you for the help. I really want to get BlackAdder but don't want to buy it just to be
disappointed later.
Jul 18 '05 #11

P: n/a
On Sunday 16 November 2003 8:30 pm, Jim wrote:
On 3 Nov 2003 13:21:56 -0800, co************@msn.com (Brian) wrotf:
Alex Martelli <al***@aleax.it> wrote in message news:<KVcpb.399539$R32.
Vamsi Mudrageda wrote:
2) Do I need to buy a license from TrollTech?

Yes, or from one of Trolltech's licensed resellers of licenses. The
cheapest way you can proceed, I believe, is to buy Blackadder, personal
edition, from theKompany.com: it comes with personal-use licenses of
PyQt and Qt for both Linux and Windows (I _think_ mac, too, but I don't
know about that). I believe it currently costs US $70 .


Note that according to the BlackAdder page at thecompany.com, you must
purchase the business edition ($400, currently) if you want the right
to distribute the run-time elements of it. I'm not sure if the OP
only wanted to distribute an app for use on his own windows box, or
distribute his application on the net for use by others.

Trolltech's pricing strategy, for me, keeps me on wxWindows. Qt does
seem like an excellent product, however.


Could someone please explain this to me. I am still a little confused. I am
just about to buy BlackAdder but want to make sure it will suit my needs.

The question I have is this; if I get the Personal Edition, I know I can't
distribute the run-time elements commercially (sell my programs) but can I
in distribute them in a non-commercial way?


No. Personal means personal to you.

Phil
Jul 18 '05 #12

P: n/a
Jim
On Sun, 16 Nov 2003 21:05:06 +0000, Phil Thompson <ph**@riverbankcomputing.co.uk> wrotf:
On Sunday 16 November 2003 8:30 pm, Jim wrote:
On 3 Nov 2003 13:21:56 -0800, co************@msn.com (Brian) wrotf:
>Alex Martelli <al***@aleax.it> wrote in message news:<KVcpb.399539$R32.
>
>>Vamsi Mudrageda wrote:
>>> 2) Do I need to buy a license from TrollTech?
>>
>> Yes, or from one of Trolltech's licensed resellers of licenses. The
>> cheapest way you can proceed, I believe, is to buy Blackadder, personal
>> edition, from theKompany.com: it comes with personal-use licenses of
>> PyQt and Qt for both Linux and Windows (I _think_ mac, too, but I don't
>> know about that). I believe it currently costs US $70 .
>
>Note that according to the BlackAdder page at thecompany.com, you must
>purchase the business edition ($400, currently) if you want the right
>to distribute the run-time elements of it. I'm not sure if the OP
>only wanted to distribute an app for use on his own windows box, or
>distribute his application on the net for use by others.
>
>Trolltech's pricing strategy, for me, keeps me on wxWindows. Qt does
>seem like an excellent product, however.


Could someone please explain this to me. I am still a little confused. I am
just about to buy BlackAdder but want to make sure it will suit my needs.

The question I have is this; if I get the Personal Edition, I know I can't
distribute the run-time elements commercially (sell my programs) but can I
in distribute them in a non-commercial way?


No. Personal means personal to you.

Phil


Thanks for the info, Phil. Can you help me out a little more? Honestly, I have spent the last 3 days
searching the Internet for an answer and can't seem figure this out.

One person (I think is was someone from theKompany) said that there was no functional difference
between the Personal Edition and the Business Edition but I think you just told me the opposite. If
I buy the Personal Edition and use it to write my program, I won't have the capability to run that
software on any other computer besides my own (personal to me) ... not even my wife's computer
downstairs, i.e., so the runtime elements don't come with the Personal Edition - which makes it
functionally different?

theKompany web page says the Business Edition is "for commercial use." From my understanding,
commercial means of or relating to commerce and commerce is buying and selling products and I'm not
selling anything. This is really confusing. I want to honor whatever licence I buy but it doesn't
seem reasonable that I would have to pay $400 so I can give my own program away freely.

Thanks for the insight.
Jul 18 '05 #13

P: n/a
>
Programming is a hobby for me and I want to write Win32 GUI programs using PyQt but don't want to be
the only one who can enjoy my programs. Specifically, I am writing a numberology program in Python
that I wrote many years ago using VB6 and want to use PyQt and Qt for the GUI design. It seems that
Qt is the only platform which uses Tab Widgets. I couldn't find anything like that in wxPython (I
need multiple tabs) and Qt has a QTab Widget that works perfectly.

Than you for the help. I really want to get BlackAdder but don't want to buy it just to be
disappointed later.

jim,

i clicked on the screenshots at the wxPython website and just about every screenshot uses a tab widget and they all look
really nice:
http://www.wxpython.org/screenshots.php

wxWindows/wxPython includes a wxNotepad which is belive is what you are calling a tab widget.

wxPython has wxNotebook, wxNotebook event and wxNotebook Sizer classes. there's an nice example in the wxPython demo
and the source code looks very easy to use. the look and feel is what you would expect on windows.

here's a link to an alphabetical listing of the classes.
http://www.lpthe.jussieu.fr/~zeitlin...7.htm#classref

bryan

Jul 18 '05 #14

P: n/a
Jim
On Mon, 17 Nov 2003 00:24:14 GMT, Bryan <be*****@yahoo.com> wrotf:

Programming is a hobby for me and I want to write Win32 GUI programs using PyQt but don't want to be
the only one who can enjoy my programs. Specifically, I am writing a numberology program in Python
that I wrote many years ago using VB6 and want to use PyQt and Qt for the GUI design. It seems that
Qt is the only platform which uses Tab Widgets. I couldn't find anything like that in wxPython (I
need multiple tabs) and Qt has a QTab Widget that works perfectly.

Than you for the help. I really want to get BlackAdder but don't want to buy it just to be
disappointed later.

jim,

i clicked on the screenshots at the wxPython website and just about every screenshot uses a tab widget and they all look
really nice:
http://www.wxpython.org/screenshots.php

wxWindows/wxPython includes a wxNotepad which is belive is what you are calling a tab widget.

wxPython has wxNotebook, wxNotebook event and wxNotebook Sizer classes. there's an nice example in the wxPython demo
and the source code looks very easy to use. the look and feel is what you would expect on windows.

here's a link to an alphabetical listing of the classes.
http://www.lpthe.jussieu.fr/~zeitlin...7.htm#classref

bryan


Bryan,

Thanks for pointing that out. I got Boa Constructor up and running and tried to find a Tab type
widget similar to Qt's QTab Widget. I can't find one anywhere but, as you pointed out, there must be
one somewhere because there are some in the sample code on their page.

On the alphabetical listing of the classes page, I did find something called wxTabCtrl. It says that
it represents a tab control, which manages multiple tabs. I guess I just need to figure out where to
find it in Boa or some similar IDE.

I would still prefer Qt and PyQt because it feels so comfortable to work with if I can ever get my
questions answered.

Thanks much, Jim
Jul 18 '05 #15

P: n/a
Jim wrote:
...
Edition but I think you just told me the opposite. If I buy the Personal
Edition and use it to write my program, I won't have the capability to run
that software on any other computer besides my own (personal to me) ...
not even my wife's computer downstairs, i.e., so the runtime elements
don't come with the Personal Edition - which makes it functionally
different?
I think the difference is legal (contractual), not technical: you do not
have the _permission_ to copy runtime elements to other computers, even
though you may have the physical ability to do so.

theKompany web page says the Business Edition is "for commercial use."
From my understanding, commercial means of or relating to commerce and
commerce is buying and selling products and I'm not selling anything. This
Qt (all the way from Trolltech) is peculiar that way: if you want to
distribute programs that run under Microsoft Windows, then you do need
a commercial license (there are other variants such as the "academic"
license, etc, but I don't think they apply here). Presumably the concept
is that if people choose to pay for their operating systems, rather than
supporting free ones, they may well pay for applications too.
is really confusing. I want to honor whatever licence I buy but it doesn't
seem reasonable that I would have to pay $400 so I can give my own program
away freely.


If you develop your Qt/PyQt applications with eric3 and distribute them
as free software (GPL) then you do not need to pay anybody anything. If
you distribute applications otherwise than under GPL, or distribute
applications that run on Windows, then you do need to pay (purchase an
appropriate license -- unless your case can be covered by an academic
license or the like, I guess, but I don't know the details of that).

If you use Blackadder for the development, you can still give away your
sources (they are and remain your property); you just can't give away
executables and libraries that are not your property and that you are
not licensed to redistribute (such as those that come with Blackadder's
Personal edition/license).

Somebody's trying to develop a GPL version of Qt that runs under Windows
(with cygwin, specifically for the purpose of using KDE on cygwin); if
that effort matures (I don't know about its current status), then at
least C++-coded applications running on Windows+cygwin, covered by GPL,
and freely distributed, would become possible. If and when this happens,
then for Python-coded applications to be distributable on the same terms
you will only need a suitable GPL-licensed PyQt (or PyQt with some license
that is at least GPL-compatible, of course).
Alex

Jul 18 '05 #16

P: n/a
> Trolltech's pricing strategy, for me, keeps me on wxWindows. Qt does
seem like an excellent product, however.


I agree.

I guess the simplest explanation is that if you have anything to do
with Windows or if you want to sell your software, you have to pay for
TrollTech's Qt and PyQt (minimum $400 for BlackAdder).

The only way it is free to use it is if you are developing on Linux,
distributing only to Linux users, and not charging for your software.

Here are some technical advantages to Qt/PyQt/PyKDE, but I can still
wouldn't recommend it for Windows development:
- QT Designer is a very nice intuitive visual GUI builder (form
designer). You can progress from a simple prototype to a
cross-platform app easily. You aren't forced to plan the layout in
advance. Then again for most apps it is not hard to just do your
layout in code.
- The QT C++ API is better designed, although that doesn't mean it is
better for Python development (both PyQt and WxPython are basically
thin wrappers for the C++ Qt and wxWindows APIs). Performance or
bug-wise I don't know that PyQt is better than wxPython on Windows.
On Linux, wxPython uses GTK.
- With KParts and KDE applications, you can embed other components
(like a web browser or spreadsheet) into your own app, although PyKDE
does not yet support this. You can do something similar in wxPython
on Windows embedding ActiveX controls (such as Internet Explorer or
Adobe Acrobat Viewer).
Jul 18 '05 #17

P: n/a
em**********@yahoo.com wrote:
Trolltech's pricing strategy, for me, keeps me on wxWindows.
Qt does seem like an excellent product, however.
I agree. I guess the simplest explanation is that if you have anything
to do with Windows or if you want to sell your software, you
have to pay for TrollTech's Qt and PyQt (minimum $400 for
BlackAdder). The only way it is free to use it is if you are developing on
Linux, distributing only to Linux users, and not charging for
your software.
Qt for Linux is GPL'd, so nothing prevents you from selling your
software for Linux - you do have to provide source code though
and can't charge for Qt/PyQt/etc.
Here are some technical advantages to Qt/PyQt/PyKDE, but I can
still wouldn't recommend it for Windows development:
- QT Designer is a very nice intuitive visual GUI builder (form
designer). You can progress from a simple prototype to a
cross-platform app easily. You aren't forced to plan the
layout in
advance. Then again for most apps it is not hard to just do
your layout in code.
- The QT C++ API is better designed, although that doesn't mean
it is better for Python development (both PyQt and WxPython are
basically
thin wrappers for the C++ Qt and wxWindows APIs). Performance
or bug-wise I don't know that PyQt is better than wxPython on
Windows. On Linux, wxPython uses GTK.
- With KParts and KDE applications, you can embed other
components (like a web browser or spreadsheet) into your own
app, although PyKDE does not yet support this.
PyKDE has been able to import KParts for at least a year. PyKDE
currently doesn't allow you to export (author) KParts in Python,
although the ability to do this is essentially complete and
mostly just needs to be integrated with the PyKDE distribution.
You can do something similar in
wxPython on Windows embedding ActiveX controls (such as
Internet Explorer or Adobe Acrobat Viewer).


Jim

Jul 18 '05 #18

P: n/a
On Sunday 16 November 2003 11:46 pm, Jim wrote:
On Sun, 16 Nov 2003 21:05:06 +0000, Phil Thompson <ph**@riverbankcomputing.co.uk> wrotf:
On Sunday 16 November 2003 8:30 pm, Jim wrote:
On 3 Nov 2003 13:21:56 -0800, co************@msn.com (Brian) wrotf:
>Alex Martelli <al***@aleax.it> wrote in message news:<KVcpb.399539$R32.
>
>>Vamsi Mudrageda wrote:
>>> 2) Do I need to buy a license from TrollTech?
>>
>> Yes, or from one of Trolltech's licensed resellers of licenses. The
>> cheapest way you can proceed, I believe, is to buy Blackadder,
>> personal edition, from theKompany.com: it comes with personal-use
>> licenses of PyQt and Qt for both Linux and Windows (I _think_ mac,
>> too, but I don't know about that). I believe it currently costs US
>> $70 .
>
>Note that according to the BlackAdder page at thecompany.com, you must
>purchase the business edition ($400, currently) if you want the right
>to distribute the run-time elements of it. I'm not sure if the OP
>only wanted to distribute an app for use on his own windows box, or
>distribute his application on the net for use by others.
>
>Trolltech's pricing strategy, for me, keeps me on wxWindows. Qt does
>seem like an excellent product, however.

Could someone please explain this to me. I am still a little confused. I
am just about to buy BlackAdder but want to make sure it will suit my
needs.

The question I have is this; if I get the Personal Edition, I know I
can't distribute the run-time elements commercially (sell my programs)
but can I in distribute them in a non-commercial way?


No. Personal means personal to you.

Phil


Thanks for the info, Phil. Can you help me out a little more? Honestly, I
have spent the last 3 days searching the Internet for an answer and can't
seem figure this out.

One person (I think is was someone from theKompany) said that there was no
functional difference between the Personal Edition and the Business Edition
but I think you just told me the opposite. If I buy the Personal Edition
and use it to write my program, I won't have the capability to run that
software on any other computer besides my own (personal to me) ... not even
my wife's computer downstairs, i.e., so the runtime elements don't come
with the Personal Edition - which makes it functionally different?


No, the functionality is the same (but is a subset of "normal" PyQt).
theKompany web page says the Business Edition is "for commercial use." From
my understanding, commercial means of or relating to commerce and commerce
is buying and selling products and I'm not selling anything. This is really
confusing. I want to honor whatever licence I buy but it doesn't seem
reasonable that I would have to pay $400 so I can give my own program away
freely.


The difference between the two versions is the right to re-distribute the BA
version of PyQt (and the embedded Qt) with your application. With the
Personal Edition you have no such right - so your users must have their own
copy.

The Business Edition gives you the right to re-distribute the BA version of
PyQt. Whether or not you make a charge to your users is entirely up to you.
Note that your users do not have the right to further re-distribute.

Phil
Jul 18 '05 #19

P: n/a
Jim
>> One person (I think is was someone from theKompany) said that there was no
functional difference between the Personal Edition and the Business Edition
but I think you just told me the opposite. If I buy the Personal Edition
and use it to write my program, I won't have the capability to run that
software on any other computer besides my own (personal to me) ... not even
my wife's computer downstairs, i.e., so the runtime elements don't come
with the Personal Edition - which makes it functionally different?


No, the functionality is the same (but is a subset of "normal" PyQt).


Yikes, what is "normal" PyQt? So the version of PyQt that comes with BlackAdder is just a subset of
"normal" PyQt ... How does one obtain the "normal" version of PyQt and what are the advantages? If
I'm spending money, I want to get it right the first time around ;)

Thanks, Jim
Jul 18 '05 #20

P: n/a
On Monday 17 November 2003 10:21 pm, Jim wrote:
One person (I think is was someone from theKompany) said that there was
no functional difference between the Personal Edition and the Business
Edition but I think you just told me the opposite. If I buy the Personal
Edition and use it to write my program, I won't have the capability to
run that software on any other computer besides my own (personal to me)
... not even my wife's computer downstairs, i.e., so the runtime
elements don't come with the Personal Edition - which makes it
functionally different?


No, the functionality is the same (but is a subset of "normal" PyQt).


Yikes, what is "normal" PyQt? So the version of PyQt that comes with
BlackAdder is just a subset of "normal" PyQt ... How does one obtain the
"normal" version of PyQt and what are the advantages? If I'm spending
money, I want to get it right the first time around ;)


"Normal" PyQt is what is available from www.riverbankcomputing.co.uk, either
under the GPL (not for Windows) or a commercial license. It does not include
a copy of Qt - you need to get that separately with an appropriate license.

Functionally BlackAdder PyQt is based on the Professional Edition of Qt (plus
a couple of extras - see theKompany website for details). "Normal" PyQt is
based on the Enterprise Edition (which is the same as the GPL version) plus
QScintilla support.

Phil
Jul 18 '05 #21

P: n/a
Jim Bublitz wrote:
em**********@yahoo.com wrote:
- With KParts and KDE applications, you can embed other
components (like a web browser or spreadsheet) into your own
app, although PyKDE does not yet support this.

PyKDE has been able to import KParts for at least a year. PyKDE
currently doesn't allow you to export (author) KParts in
Python, although the ability to do this is essentially complete
and mostly just needs to be integrated with the PyKDE
distribution.


Following up on my own message, David Boddie has just released
PyKDE addons for doing KParts, KDE Control Center Modules and
KDE IOSlaves (mostly in Python - some .so lib creation may be
required, but I expect David has this simplified quite a bit).

The code (first release, but David does good work) is at:

http://www.boddie.org.uk/david/Proje...KDE/index.html

This will still require installing sip/PyQt/PyKDE but looks like
it will be maintained separate from the normal PyKDE
distribution.

Jim

Jul 18 '05 #22

P: n/a

[Phil]
Functionally BlackAdder PyQt is based on the Professional Edition of Qt (plus
a couple of extras - see theKompany website for details). "Normal" PyQt is
based on the Enterprise Edition (which is the same as the GPL version) plus
QScintilla support.


So if I buy BlackAdder, I don't get QScintilla? Someone's website, yours
or the Kompany's, should really make that clear (unless I've missed it; I
can't check theirs because it seems to be down at the moment).

Can I add a QScintilla licence to the package, and if so, at what extra
cost on top of the $400 for BlackAdder?

--
Richie Hindle
ri****@entrian.com
Jul 18 '05 #23

P: n/a
Jim Bublitz <jb********@spamnwinternet.com> writes:
Jim Bublitz wrote: [...] Following up on my own message, David Boddie has just released
PyKDE addons for doing KParts, KDE Control Center Modules and [...] This will still require installing sip/PyQt/PyKDE but looks like
it will be maintained separate from the normal PyKDE
distribution.


Not *another* package! Qt, sip, PyQt, PyKDE, and now this... (not to
mention Qwt and PyQwt, if you use those). Couldn't you combine the
packages, at least after Paul's package settles down a bit?
John
Jul 18 '05 #24

P: n/a
John J. Lee wrote:
Jim Bublitz <jb********@spamnwinternet.com> writes:
Jim Bublitz wrote:

[...]
Following up on my own message, David Boddie has just released
PyKDE addons for doing KParts, KDE Control Center Modules and

[...]
This will still require installing sip/PyQt/PyKDE but looks
like it will be maintained separate from the normal PyKDE
distribution.

Not *another* package! Qt, sip, PyQt, PyKDE, and now this...
(not to mention Qwt and PyQwt, if you use those). Couldn't you
combine the packages, at least after Paul's package settles
down a bit?


You left out eric :)

The logic of separating the packages (beyond making them easier
to build) goes like this: sip is a general purpose C++ -> Python
bindings generator and run-time and while it has enhancements
for PyQt, doesn't require PyQt. A lot of people who use PyQt
have no desire to use PyKDE or PyQwt (or PyQt + PyQwt but not
PyKDE). There are a lot of PyQt users running Windows and OSX
support is in place for sip/PyQt 4, which is in pre-release.
Probably most people using PyKDE won't want to write KParts or
other plugin type stuff. PyQt and PyKDE also have fairly long
compile times, or when packaged as binaries, are usually split
into pieces themselves (eg PyQt, PyQt-devel, etc).

The other consideration is that each of the packages is developed
mostly independently and while there is a lot of communication
between us, we all have conflicting goals, schedules and
development styles. Right now the binaries are also produced
independent of the developers as well.

There are probably more packages coming over the next year, too.

Jim

Jul 18 '05 #25

P: n/a
Vamsi Mudrageda <gt*****@prism.gatech.edu> wrote in message news:<bo**********@news-int2.gatech.edu>...
I am kind of new to Python, and after trying and using wxPython, I found
it kind of lacking in easy-to-read documentation, speed at loading, and
GUI response-time.

So I am looking for an another GUI toolkit that is cross-platform for
Python, and am leaning toward PyQt (PyGTK is kind of dull looking in
comparison). Unfortunately, although TrollTech says Qt is
cross-platform, its license strategy has me a bit confused. So here is
to hoping someone can help...

Objective:
Develop/Write a program for personal use on my Linux using PyQt. Be
able to also run it on Windows.

Questions:
1) Is it legally possible to do that?
2) Do I need to buy a license from TrollTech?
3) Can I create a .exe file for my windows on my Linux and copy it over?
(I would like to develop the program entirely on Linux, but make
executables for other platforms).

Any help would be greatly appreciated. If you guys have another GUI
toolkit for python, then please by all means...

Thx.

Vamsi,

It looks like a less expensive way to develop non commercial Qt 3
programs for Windows may be coming soon.

The "official" Qt3 book is due in February of 2004, and the
included CD will include a non-commerical version of Qt 3.2.1
for Windows (and GPL versions for Linux and Mac). The
book will be $50. Here is a link to the announcement in
the qt-interest mailing list:
http://lists.trolltech.com/qt-intere...ad01344-0.html

From other discussion on the mailing list, it appears that
you will be able to distribute the Qt runtime DLLs with
your non commerical application if you buy the book.
Here's the mailing list thread for that (see message 13
in particular):
http://lists.trolltech.com/qt-intere...ad00225-0.html

Of course, I have no idea what the relationship between this
non-commercial version of Qt and PyQt will be.
Rob

Disclaimer: I have nothing to do with Trolltech (except as a
commerical licensee of the Linux and Mac versions) or the
authors or publishers of the book.
Jul 18 '05 #26

P: n/a
On Tuesday 18 November 2003 9:54 am, Richie Hindle wrote:
[Phil]
Functionally BlackAdder PyQt is based on the Professional Edition of Qt
(plus a couple of extras - see theKompany website for details). "Normal"
PyQt is based on the Enterprise Edition (which is the same as the GPL
version) plus QScintilla support.
So if I buy BlackAdder, I don't get QScintilla? Someone's website, yours
or the Kompany's, should really make that clear (unless I've missed it; I
can't check theirs because it seems to be down at the moment).


theKompany website makes it fairly clear what's included. Obviously it doesn't
document what's not included ;-)
Can I add a QScintilla licence to the package, and if so, at what extra
cost on top of the $400 for BlackAdder?


No.

Phil
Jul 18 '05 #27

P: n/a
Jim Bublitz <jb********@spamnwinternet.com> wrote in message news:<fF***********************@twister2.starband. net>...
I guess the simplest explanation is that if you have anything
to do with Windows or if you want to sell your software, you
have to pay for TrollTech's Qt and PyQt (minimum $400 for
BlackAdder).

The only way it is free to use it is if you are developing on
Linux, distributing only to Linux users, and not charging for
your software.


Qt for Linux is GPL'd, so nothing prevents you from selling your
software for Linux - you do have to provide source code though
and can't charge for Qt/PyQt/etc.


Sorry I wasn't crystal clear. If you plan to develop commercial
software on any platform, you have to pay for Qt. I was trying to
make their pricing schemes more easy for people to understand.
- With KParts and KDE applications, you can embed other
components (like a web browser or spreadsheet) into your own
app, although PyKDE does not yet support this.


PyKDE has been able to import KParts for at least a year. PyKDE
currently doesn't allow you to export (author) KParts in Python,
although the ability to do this is essentially complete and
mostly just needs to be integrated with the PyKDE distribution.


I know, I was meaning create KParts. The point is that PyQt & PyKDE
can do on Linux everything wxPython can do on Windows, and more (using
Qt Designer, and soon creating KParts with PyQt).
But if you want to develop for both platforms, you can either use
wxPython for free, but it uses GTK on Linux instead of Qt, or pay for
Qt on Windows, the commercial version of which can embed ActiveX
controls on Windows too.
Jul 18 '05 #28

P: n/a

[Rob]
The "official" Qt3 book is due in February of 2004, and the
included CD will include a non-commerical version of Qt 3.2.1
for Windows [...] it appears that you will be able to distribute
the Qt runtime DLLs with your non commerical application [...]


This is great news for people who want to develop free Windows software
with Qt. Phil, do you yet know whether PyQt Non-Commercial will support
this version of Qt?

--
Richie Hindle
ri****@entrian.com
Jul 18 '05 #29

P: n/a
> The "official" Qt3 book is due in February of 2004, and the
included CD will include a non-commerical version of Qt 3.2.1
for Windows [...] it appears that you will be able to distribute
the Qt runtime DLLs with your non commerical application [...]


So if I just want to make free software that works cross-platform, I'd
have to buy this crappy C++ book to get a special restricted version
of Qt3 for Windows that may or may not work with Python. This is
ridiculous.
Jul 18 '05 #30

P: n/a
em**********@yahoo.com wrote:
The "official" Qt3 book is due in February of 2004, and the
included CD will include a non-commerical version of Qt 3.2.1
for Windows [...] it appears that you will be able to distribute
the Qt runtime DLLs with your non commerical application [...]


So if I just want to make free software that works cross-platform, I'd
have to buy this crappy C++ book to get a special restricted version
of Qt3 for Windows that may or may not work with Python. This is
ridiculous.


If that's what you want ("make free software that works cross-platform")
you're probably better off using an alternative GUI toolkit.

-- Gerhard
Jul 18 '05 #31

P: n/a
In article <e9**************************@posting.google.com >,
em**********@yahoo.com <em**********@yahoo.com> wrote:
The "official" Qt3 book is due in February of 2004, and the
included CD will include a non-commerical version of Qt 3.2.1
for Windows [...] it appears that you will be able to distribute
the Qt runtime DLLs with your non commerical application [...]


So if I just want to make free software that works cross-platform, I'd
have to buy this crappy C++ book to get a special restricted version
of Qt3 for Windows that may or may not work with Python. This is
ridiculous.


If you think *that*'s ridiculous ... well, I expect IT will endlessly amuse you.
--

Cameron Laird <cl****@phaseit.net>
Business: http://www.Phaseit.net
Jul 18 '05 #32

P: n/a
On Wednesday 19 November 2003 10:28 am, Richie Hindle wrote:
[Rob]
The "official" Qt3 book is due in February of 2004, and the
included CD will include a non-commerical version of Qt 3.2.1
for Windows [...] it appears that you will be able to distribute
the Qt runtime DLLs with your non commerical application [...]


This is great news for people who want to develop free Windows software
with Qt. Phil, do you yet know whether PyQt Non-Commercial will support
this version of Qt?


I usually follow what Trolltech do, which means that I'll probably look at
selling a CD with a compatible version of PyQt on it.

Phil
Jul 18 '05 #33

P: n/a
Gerhard Häring wrote:
em**********@yahoo.com wrote:
The "official" Qt3 book is due in February of 2004, and the
included CD will include a non-commerical version of Qt 3.2.1
for Windows [...] it appears that you will be able to
distribute the Qt runtime DLLs with your non commerical
application [...]


So if I just want to make free software that works
cross-platform, I'd have to buy this crappy C++ book to get a
special restricted version
of Qt3 for Windows that may or may not work with Python. This
is ridiculous.


If that's what you want ("make free software that works
cross-platform") you're probably better off using an
alternative GUI toolkit.


Or a smaller value of "cross-platform".

Jim
Jul 18 '05 #34

P: n/a
em**********@yahoo.com <em**********@yahoo.com> pisze:
Qt for Linux is GPL'd, so nothing prevents you from selling your
software for Linux - you do have to provide source code though
and can't charge for Qt/PyQt/etc.


Sorry I wasn't crystal clear. If you plan to develop commercial
software on any platform, you have to pay for Qt. I was trying to
make their pricing schemes more easy for people to understand.


Don't spread FUD. You don't have to pay for Qt if you distribute it
under GNU Public License. Even commercially. You can earn money for your
software and you have nothing to pay to Trolltech if this is GPL-ed
software. They can say anything, but it's GPL, they just can not impose
such restriction.

I think somebody at FSF should take closer look at statements that can
be found on Trolltech website -- they are misleading at least.

--
Jarek Zgoda
Unregistered Linux User #-1
http://www.zgoda.biz/ JID:zg***@chrome.pl http://zgoda.jogger.pl/
Jul 18 '05 #35

P: n/a
Alex Martelli <al***@aleax.it> schreef:
Somebody's trying to develop a GPL version of Qt that runs under Windows
(with cygwin, specifically for the purpose of using KDE on cygwin)


They are working on a non-Cygwin port too (should compile on VC++ & MinGW),
but that might take longer to complete...

--
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
Jul 18 '05 #36

This discussion thread is closed

Replies have been disabled for this discussion.