473,473 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

PyQT installation

hello all,
I am planning to start coding a nanoscale design software in
python with QT interface.I have to do this in windows or linux.Intially
windows would be fine.
I have struggled almost full day today trying to make
from import qt *
execute...........................I have the basic python core. I went
through the sites like riverbankcomputing and trolltech and few online
pages and books which talk about PyQT but never say about their
installation step properly.
I need to know step by step what shud i do.I have also installed
the windows binary of PyQT from riverbank and have ordered a QTdesigner
CD.But i can't wait.I need to do this fast.(Is there any other thing i
have to do)
Any clean and clear cut info in linux or windows( as I hope this
as the groups standard to be) would help me start my nanoscale project
or otherwise i have to rethink the GUI..Common QT is my favourite i
need my project work to be done on my favourite thing.

regards,
Charles

(doing an example program wud be a welcome sweeet)

Jul 18 '05 #1
16 2106
On Thursday 30 December 2004 1:27 am, Nanoscalesoft wrote:
hello all,
I am planning to start coding a nanoscale design software in
python with QT interface.I have to do this in windows or linux.Intially
windows would be fine.
I have struggled almost full day today trying to make
from import qt *
execute...........................I have the basic python core. I went
through the sites like riverbankcomputing and trolltech and few online
pages and books which talk about PyQT but never say about their
installation step properly.
I need to know step by step what shud i do.I have also installed
the windows binary of PyQT from riverbank and have ordered a QTdesigner
CD.But i can't wait.I need to do this fast.(Is there any other thing i
have to do)
Any clean and clear cut info in linux or windows( as I hope this
as the groups standard to be) would help me start my nanoscale project
or otherwise i have to rethink the GUI..Common QT is my favourite i
need my project work to be done on my favourite thing.


Exactly what versions of Python, Qt and PyQt have you installed?

Phil
Jul 18 '05 #2
hi phil...
py-->2.4
pyqt-->3.3
qt-->2.3.0

Jul 18 '05 #3
On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote:
hi phil...
py-->2.4
pyqt-->3.3
I assume you mean PyQt-win-nc-msvc-3.13.exe
qt-->2.3.0


I assume you mean the non-commercial edition.

The binaries are built against Python 2.3.3 - Python 2.4 won't work. Python
2.4 (and later) will never be supported by the non-commercial edition because
of the MSVC 6 vs 7 issue.

Phil
Jul 18 '05 #4
Phil Thompson wrote:
On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote:
hi phil...
py-->2.4
pyqt-->3.3

I assume you mean PyQt-win-nc-msvc-3.13.exe

qt-->2.3.0

I assume you mean the non-commercial edition.

The binaries are built against Python 2.3.3 - Python 2.4 won't work. Python
2.4 (and later) will never be supported by the non-commercial edition because
of the MSVC 6 vs 7 issue.

Phil


If that is a real *never* then Qt just fell behind in the "what's the
best GUI platform" stakes. It'd be a shame to lose PyQT, but if there's
no way to migrate it forwards it will atrophy and die. Have TrollTech
said they will never issue MSVC 7 binaries?

Is there no way to use the free Microsoft toolchain to compile, or do
the language differences just make the whole deal too difficult (or is
there some other show-stopper that my ignorance prevents me from seeing?).

regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
Jul 18 '05 #5
Steve Holden, Quinta 30 Dezembro 2004 14:13, wrote:
If that is a real *never* then Qt just fell behind in the "what's the
best GUI platform" stakes. It'd be a shame to lose PyQT, but if there's
no way to migrate it forwards it will atrophy and die. Have TrollTech
said they will never issue MSVC 7 binaries?
"non-commercial" binaries he said... I hope it is just the non-commercial
really, 'cause the look & feel of Qt is very nice.
Is there no way to use the free Microsoft toolchain to compile, or do
the language differences just make the whole deal too difficult (or is
there some other show-stopper that my ignorance prevents me from seeing?).


Isn't it possible to compile everything with a free compiler? I'm not a
Windows user, but... :-)
--
Godoy. <go***@ieee.org>

Jul 18 '05 #6
On Thursday 30 December 2004 4:13 pm, Steve Holden wrote:
Phil Thompson wrote:
On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote:
hi phil...
py-->2.4
pyqt-->3.3


I assume you mean PyQt-win-nc-msvc-3.13.exe
qt-->2.3.0


I assume you mean the non-commercial edition.

The binaries are built against Python 2.3.3 - Python 2.4 won't work.
Python 2.4 (and later) will never be supported by the non-commercial
edition because of the MSVC 6 vs 7 issue.

Phil


If that is a real *never* then Qt just fell behind in the "what's the
best GUI platform" stakes. It'd be a shame to lose PyQT, but if there's
no way to migrate it forwards it will atrophy and die. Have TrollTech
said they will never issue MSVC 7 binaries?

Is there no way to use the free Microsoft toolchain to compile, or do
the language differences just make the whole deal too difficult (or is
there some other show-stopper that my ignorance prevents me from seeing?).


You've completely misunderstood what I said.

I specifically said the non-commercial edition. This is a binary only version
based on Qt v2.3 and released in March 2001 - the first beta of Qt v4.0 has
just been released. The commercial and GPL versions of Qt is supplied in
source form and supports MSVC 6, 7, Borland, Cygwin and the Intel compiler.
PyQt supports all versions of Python since v1.5.2.

I think Qt is doing very well in the "best GUI platform" stakes if people
still want to use a 4 year old version in preference to up to date versions
of the alternatives.

Phil
Jul 18 '05 #7
does that mean PyQT is not forward!!!!!!!! What a bad thing is this...

Jul 18 '05 #8
Phil Thompson wrote:
On Thursday 30 December 2004 4:13 pm, Steve Holden wrote:
Phil Thompson wrote:
On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote:

hi phil...
py-->2.4
pyqt-->3.3

I assume you mean PyQt-win-nc-msvc-3.13.exe
qt-->2.3.0

I assume you mean the non-commercial edition.

The binaries are built against Python 2.3.3 - Python 2.4 won't work.
Python 2.4 (and later) will never be supported by the non-commercial
edition because of the MSVC 6 vs 7 issue.

Phil
If that is a real *never* then Qt just fell behind in the "what's the
best GUI platform" stakes. It'd be a shame to lose PyQT, but if there's
no way to migrate it forwards it will atrophy and die. Have TrollTech
said they will never issue MSVC 7 binaries?

Is there no way to use the free Microsoft toolchain to compile, or do
the language differences just make the whole deal too difficult (or is
there some other show-stopper that my ignorance prevents me from seeing?).

You've completely misunderstood what I said.

And not for the first time, probably. Mea culpa.
I specifically said the non-commercial edition. This is a binary only version
based on Qt v2.3 and released in March 2001 - the first beta of Qt v4.0 has
just been released. The commercial and GPL versions of Qt is supplied in
source form and supports MSVC 6, 7, Borland, Cygwin and the Intel compiler.
PyQt supports all versions of Python since v1.5.2.
Well, OK, so I take it this means that TrollTech have announced they
won't be producing an up to date non-commercial edition?

I presume the non-commercial edition is for people who want to use Qt
but don't want to pay licensing fees or open their source? Or is the GPL
version only available on non-Windows platforms? Of all the GUI
platforms I know about, Qt certainly has the murkiest licensing picture.
I think Qt is doing very well in the "best GUI platform" stakes if people
still want to use a 4 year old version in preference to up to date versions
of the alternatives.

I have no quibble with that - as I know, there are a lot of happy Qt
users, and it has an interestingly different architecture. It would be
even better if the licensing requirements were consistent across all
platforms.

and-if-wishes-were-horses-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
Jul 18 '05 #9
Nanoscalesoft wrote:
does that mean PyQT is not forward!!!!!!!! What a bad thing is this...


Whoa, how did you get it?

You can buy commercial licenses and be as current as we are on Linux
with GPL versions of Qt+PyQt. Oh, and QScintilla and Eric3!

--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
Jul 18 '05 #10
Jarek Zgoda <jz****@gazeta.usun.pl> wrote:
Nanoscalesoft wrote:
does that mean PyQT is not forward!!!!!!!! What a bad thing is this...


Whoa, how did you get it?

You can buy commercial licenses and be as current as we are on Linux
with GPL versions of Qt+PyQt. Oh, and QScintilla and Eric3!


MacOSX, too. And it's COOL to program (haven't looked at all into 4.0
yet -- I'm mostly talking about 3.*)... I dunno, its programming model
just appears to fit my brain very well, I guess.

BTW: used to be that the cheapest way to get commercial licenses for Qt
use from Python only (i.e. if you didn't care to write C++ code for it
anyway) was to purchase BlackAdder -- a usable IDE by itself, btw,
though no doubt not as powerful in debugging as WingIDE. I haven't
recently checked whether that is still true, however.
Alex
Jul 18 '05 #11
Steve Holden <st***@holdenweb.com> wrote:
I presume the non-commercial edition is for people who want to use Qt
but don't want to pay licensing fees or open their source? Or is the GPL
version only available on non-Windows platforms? Of all the GUI
platforms I know about, Qt certainly has the murkiest licensing picture.


I don't find it murky, myself: GPL is available for good platforms (such
as MacOSX and Linux), if you insist on using/releasing for Windows, you
have to pay, period.

Non-commercial edition is NOT for release or ANY commercial use, just
for learning.

Basically: if you want it on Windows for free, forget Qt (I hear the
cygwin people are trying to make a GPL Qt available for Win+cyg+XFree,
but I suspect trolltech ain't happy about that -- anyway, I don't think
it would be "native", X11 being still required). That's how Trolltech
chooses to finance their development -- make money from firms which want
to release for Windows (or ones which want to release closed-source for
Unix or Mac, but I suspect there's few of the latter), use some part of
that money to support and encourage free software on free platforms or
platforms _close enough_ to free (Mac OS X itself ain't free -- but its
underpinnings, Darwin, are... a nice variant on open-source BSD...).

There _WERE_ (4 years ago? 5?) some licensing hassles, and some kind of
stand-off between Trolltech/Qt on one side and the FSF on the other
(which resulted in the birth of Gnome as an alternative to Qt-based KDE,
if I recall correctly). But that WAS a long time ago, and now that the
GPL version is available (though not for Windows) and has been for quite
a while I'm pretty sure not even Stallman has bones to pick with
Trolltech's licensing any more.
Fairly or not, it does seem Trolltech is paying in terms of mindshare
for their not-for-free attitude to Windows among the
free-as-in-free-beer software crowd -- if a GPL version was available
for Windows I'm pretty sure PyQt would be the default de facto Python
GUI toolkit today, rather than having wx and Tk vie for the crown (with
GTK as a somewhat-distant third, it appears to me, and Qt nowhere in
sight because "it ain't free for Windows"). But really, there hasn't
been anything murky about it for _years_... take it or leave it, it's
rather clear and well-defined, it seems to me!
Alex
Jul 18 '05 #12
For those curious about Trolltech's stance on Windows, here's what
Trolltech's "License FAQ - Open Source Edition" (
http://www.trolltech.com/developer/f...cense_gpl.html ) has to say:

" Why is there no Open Source (GNU GPL) version of Qt on Windows ?

We have regrettably not found a way of making GPL versions for Windows
available without risking the very business model we depend upon to be
able to further develop and support Qt.

Please note that if you make the source code for your project available
and your license allows it, any holder of a commercial Qt Windows
license can create binaries for your project. "

Jul 18 '05 #13
al*****@yahoo.com (Alex Martelli) writes:
[...]
Basically: if you want it on Windows for free, forget Qt
Correct.

(I hear the
cygwin people are trying to make a GPL Qt available for Win+cyg+XFree,
but I suspect trolltech ain't happy about that -- anyway, I don't think
it would be "native", X11 being still required).

[...]

Not correct. It's driven by KDE, and it's more ambitious than that:

http://kde-cygwin.sourceforge.net/qt3-win32/roadmap.php
IIRC, people have already run some KDE apps under Windows (though
still needing X, so far).

I wonder how TrollTech will react as (and if) it progresses.
John
Jul 18 '05 #14
John J. Lee wrote:
al*****@yahoo.com (Alex Martelli) writes:
[...]
Basically: if you want it on Windows for free, forget Qt

Correct.


I believe the book "C++ GUI programming Qt3" comes
with a windows Qt gpl 3.x version. Just have to buy
the book. No PyQt version to match thou.

Blackadder from the Kompany, while not free, is still
a pretty good deal. Like < $100 for personal and around
$350 for commercial version. Include current windows/linux
versions of (Qt)PyQt along with converted Qt C++ to PyQt docs.

Not correct. It's driven by KDE, and it's more ambitious than that:

http://kde-cygwin.sourceforge.net/qt3-win32/roadmap.php
IIRC, people have already run some KDE apps under Windows (though
still needing X, so far).

I wonder how TrollTech will react as (and if) it progresses.


I don't think your giving TrollTech any credit here, yes they have
a business model and need to make money, but not everybody is
Microsoft. They are fully aware and supportive of the project
and I remember reading not to long ago they struck an aggrement
with the project that if anything ever happened to TrollTech they
would release Qt to project under gpl, or something like that.
Jul 18 '05 #15
On Sat, 1 Jan 2005, Ken Godee wrote:
[...]
I believe the book "C++ GUI programming Qt3" comes
with a windows Qt gpl 3.x version. Just have to buy
the book. No PyQt version to match thou.


"GPL only if you buy the book" makes no sense. Either it's GPL or it
isn't. (It isn't, in fact.)

[...]
IIRC, people have already run some KDE apps under Windows (though
still needing X, so far).

I wonder how TrollTech will react as (and if) it progresses.


I don't think your giving TrollTech any credit here, yes they have
a business model and need to make money, but not everybody is
Microsoft. They are fully aware and supportive of the project
and I remember reading not to long ago they struck an aggrement
with the project that if anything ever happened to TrollTech they
would release Qt to project under gpl, or something like that.


I'd forgotten about that agreement (again, driven by KDE). Reassuring,
assuming the legalese corresponds to what one assumes is the spirit of it,
and that it will hold water if/when tested in the courts.

I am surprised if they support the effort to make a GPL native MS Windows
version of Qt. They wouldn't have to be evil monopolists to be concerned
about this development, IMHO.
John
Jul 18 '05 #16
Ken Godee wrote:
I believe the book "C++ GUI programming Qt3" comes
with a windows Qt gpl 3.x version. Just have to buy
the book. No PyQt version to match thou.
No, Sir. It's a "non-commercial" edition. At the request from Trolltech,
there's no PyQt-nc available for this version of Qt.
Blackadder from the Kompany, while not free, is still
a pretty good deal. Like < $100 for personal and around
$350 for commercial version. Include current windows/linux
versions of (Qt)PyQt along with converted Qt C++ to PyQt docs.


This is much better way to get PyQt for Windows!

--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
Jul 18 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: reh | last post by:
Have installed on Redhat 9.0 in the following order; Qscintilla sip PyQt When I install eric3 (python install.py), I get this error; Sorry, please install QScintilla and/or reinstall PyQt...
4
by: Stelian Iancu | last post by:
Hello all! I am trying to install eric3, the Python IDE. I've downloaded and installed successfully sip-3.8, QScintilla-1.2 and PyQT-3.8. However, when I try to install eric, I get the following...
8
by: simo | last post by:
OK, so I'm at the stage where I want to make a choice between wxPython and PyQt. Currently I'm using wxPython mainly due to the fact that it has GPL Linux and Windows versions. I prefer Qt to...
2
by: Sam | last post by:
Hey people, I am trying to install these modules to play around with KDE panel applets, but I am beginning to think it's too much trouble to be worth it. I've installed PyQT (as well as the...
10
by: svenn.are | last post by:
Hi, I wanted to run a program that is written in PyQt on my mac, and went over to Riverbank to get PyQ 3.13 and SIP 4.1.1 sources. I followed the installation guide except for the compiling...
0
by: Bulba! | last post by:
I got an evaluation version of Qt for Windows and installed PyQt. However, it gives me this error message: "ImportError: DLL load failed:" It doesn't seem to see the "qt-mteval" DLL, even...
7
by: adrian_p_smith | last post by:
Hi there. I've been trying to get PyQT working on W2K, but have not yet found a sufficiently detailed walk-through for my somewhat command-line-challenged sensibilities. I did find this page:...
2
by: wd.jonsson | last post by:
Hello! I must be doing something wrong here because I'm getting all these missing .dll messages after installing PyQT. This is what I've done (no step excluded): 1. Fresh installation of...
1
by: Marcus Strube | last post by:
Hi I was trying to install PyQt, but things don't work as promised. I'm working on OS X 10.5, didn't install another version of Python - so it's 2.5.1 -, installed the latest...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.