473,225 Members | 1,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,225 software developers and data experts.

PyQt and Python 2.4 - also WinXP LnF?

After quite a while of wxPython I'm getting back into PyQt, mainly due
to the announcement by Trolltech that they will make a GPL version of
Qt4 for Windows (and Phil-T said he will make a PyQt to go with it
eventually!)

I'm currently using PyQt 3.12 that comes with the BlackAdder demo, it
seems to work fine with Python 2.3.5 except that it doesn't support the
WinXP look'n'feel, the QStyle "WindowsXP" isn't included, and using a
manifest file doesn't seem to fix this.

Does anyone know if the latest PyQt (3.13?) is built with this support?
I thought this had been supported since 3.10 or earlier, is it just the
BlackAdder build that's "broken"?

I'm writing an XMMS remote control program, so it will be GPL when
released (if it's ever good enough to release!) so I'm looking at
buying the commercial PyQt3 or BlackAdder whilst waiting for the GPL
PyQt4

Can I use the commercial PyQt without a commercial Qt - I guess I could
as long as I don't distribute the qt-mt333.dll? I have no use for Qt
itself, not interested in C++, so it seems a bit much to have to buy a
license just for a DLL!

Also, would I have to build it all myself or does Riverbank/TheKompany
provide binaries like PyQt 3.13 for Python 2.4, as I don't have Visual
Studio I can't build it myself.

OK, I'm off to check on my build of PyQt on my Fedora2/Python 2.4
machine ;-)

Jul 18 '05 #1
10 2124
Simon John wrote:
Also, would I have to build it all myself or does Riverbank/TheKompany
provide binaries like PyQt 3.13 for Python 2.4, as I don't have Visual
Studio I can't build it myself.


There is a GPLed version of Qt that will build on win32, and free
compilers to build it with. Despite it coming from the KDE-Cygwin
project, it does not require Cygwin to build or run.

http://kscraft.sourceforge.net/conve...-install.xhtml
http://kde-cygwin.sourceforge.net/qt...-msvc-2005.php
http://kde-cygwin.sourceforge.net/qt...pile-mingw.php

Peace,
Joe

Jul 18 '05 #2
On Wed, Feb 09, 2005 at 06:44:31PM -0800, Simon John wrote:

I'm writing an XMMS remote control program, so it will be GPL when
released (if it's ever good enough to release!) so I'm looking at
buying the commercial PyQt3 or BlackAdder whilst waiting for the GPL
PyQt4


may I observe that if you're writing anything to do with xmms, you
stick to plain ol' gtk1?

--
John Lenton (jo**@grulic.org.ar) -- Random fortune:
Hemos hallado al enemigo, y somos nosotros.
-- Walt Kelly.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCCtrhgPqu395ykGsRAlqyAJ0YnmBGoH0DvXbNaR8Nrv dJGYk0kgCfQhYc
Pdo6Patv37K1Kt0mFaOyEXE=
=YJDX
-----END PGP SIGNATURE-----

Jul 18 '05 #3
Yeah I had a look at the Qt Free/Win project, but I think it offers me
less than the current official 3.12 from BlackAdder, which is only $80
without the hassle of following those convoluted build instructions (I
did try yesterday).

As far as XMMS/Gtk goes, it's a remote client for XMMS, designed to be
run across a network, so it doesn't really matter about using the same
toolkit. Plus all the problems with XMMS seem to lie with Gtk1
(whenever it crashes, the errors always come from Gtk!)

I was looking at the Gtk2 fork XMMS2, which seems to provide network
control like the InetCtrl plugin for XMMS1, but I'm still not keen on
Gtk as it looks so weird outside of Linux.

Jul 18 '05 #4
> After quite a while of wxPython I'm getting back into PyQt, mainly due
to the announcement by Trolltech that they will make a GPL version of
Qt4 for Windows (and Phil-T said he will make a PyQt to go with it
eventually!)

I'm currently using PyQt 3.12 that comes with the BlackAdder demo, it
seems to work fine with Python 2.3.5 except that it doesn't support the
WinXP look'n'feel, the QStyle "WindowsXP" isn't included, and using a
manifest file doesn't seem to fix this.

Does anyone know if the latest PyQt (3.13?) is built with this support?
I thought this had been supported since 3.10 or earlier, is it just the
BlackAdder build that's "broken"?
PyQt supports the WindowsXP style if Qt has been built with it enabled.
I'm writing an XMMS remote control program, so it will be GPL when
released (if it's ever good enough to release!) so I'm looking at
buying the commercial PyQt3 or BlackAdder whilst waiting for the GPL
PyQt4

Can I use the commercial PyQt without a commercial Qt - I guess I could
as long as I don't distribute the qt-mt333.dll? I have no use for Qt
itself, not interested in C++, so it seems a bit much to have to buy a
license just for a DLL!
No. PyQt is supplied as a source package. You don't have the Qt .h files
needed to compile it. One point of the BlackAdder license is that you
can't use the bundled version of Qt to build C++ applications - even if
that C++ application is another version of PyQt.
Also, would I have to build it all myself or does Riverbank/TheKompany
provide binaries like PyQt 3.13 for Python 2.4, as I don't have Visual
Studio I can't build it myself.
We don't provide binaries, but the free MSVC, Borland and MinGW compilers
are all supported.
OK, I'm off to check on my build of PyQt on my Fedora2/Python 2.4
machine ;-)


Phil

Jul 18 '05 #5
I've just read the Qt4 GPL for Windows will only support gcc (and maybe
MinGW) anyway, not BCC or VisualC++ (or it's free equivalents), so it
looks like it would be a daunting task to actually build PyQt....

See http://osnews.com/comment.php?news_id=9675

I guess the Qt used in PyQt from BlackAdder just wasn't built with XP
support, and if I can't use it to compile PyQt properly, then it's
worthless to me.

I guess a lot of this licensing crap will change when Qt4 GPL is
actually released, but it's still looking like commercial Qt is the
only "easy" way to go, and the Trolls are just making a "difficult" GPL
version to shut people up!

Jul 18 '05 #6
I've just read the Qt4 GPL for Windows will only support gcc (and maybe
MinGW) anyway, not BCC or VisualC++ (or it's free equivalents), so it
looks like it would be a daunting task to actually build PyQt....

See http://osnews.com/comment.php?news_id=9675

I guess the Qt used in PyQt from BlackAdder just wasn't built with XP
support, and if I can't use it to compile PyQt properly, then it's
worthless to me.

I guess a lot of this licensing crap will change when Qt4 GPL is
actually released, but it's still looking like commercial Qt is the
only "easy" way to go, and the Trolls are just making a "difficult" GPL
version to shut people up!

Jul 18 '05 #7
I've just got Qt 3.3.3 and PyQt 3.1.3 compiled for Python 2.4 using the
instructions for MinGW here:

http://kscraft.sourceforge.net/conve...-install.xhtml

It was a pretty nasty experience, hacking python24.dll and patching
sip/PyQt, but i got it all working after about 4 hours! It still
doesn't support the XP LnF, but at least I have a non-limited
QtDesigner etc. now, and something I can distribute for Windows which
supports Python 2.4/QScintilla.

I couldn't get it to work with the free MS compiler (VC2003 command
line tools and 1.1 SDK) as they were missing libraries etc. I guess the
docs are referring to a full Visual Studio .NET 2003

Jul 18 '05 #8
After building with MSVC6 (Python 2.3.5 and 2.4 versions) I've noticed
that the ToolTips don't seem to work in the GPL version.

MSVC6 is about twice as fast to build as MinGW.....

Jul 18 '05 #9
Simon John - Feb 10, 11:51 am:
I've just read the Qt4 GPL for Windows will only support gcc (and maybe MinGW) anyway, not BCC or VisualC++ (or it's free equivalents), so it
looks like it would be a daunting task to actually build PyQt....
Why? I think that it is fair. Why a Free Software developer should buy
VC++ licenses to build free Qt? It is nonsense. "gcc" works under
Windows, and that is enough.

I guess a lot of this licensing crap will change when Qt4 GPL is
actually released, but it's still looking like commercial Qt is the
only "easy" way to go, and the Trolls are just making a "difficult" GPL version to shut people up!


What is the matter with you? When Qt is released GPL for Windows, with
the support from Trolltech, if they do not give you a ".exe" version
of Qt, then someone should compile it. There is no need to compile it
every time.

I think Trolltech is right. If can afford Windows and VisualStudio, you
can also afford Qt. Or maybe you are a "pirate".

Jul 18 '05 #10
Simon John - Feb 13, 4:24 pm:
After building with MSVC6 (Python 2.3.5 and 2.4 versions) I've noticed that the ToolTips don't seem to work in the GPL version.
Free (GPL) Qt3 port to Windows is not complete. They indeed need help
to conclude their job. And as Trolltech is not going to release Qt3
under GPL, to "encorage" people using Qt4, this work of porting is not
useless.

MSVC6 is about twice as fast to build as MinGW....


I think it is because they use precompiled headers. But I prefer to
wait rather than using MSVC.

Jul 18 '05 #11

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

Similar topics

2
by: Dennis Sylvester | last post by:
Interested in any opinions, studies, etc., concerning the GUI tool(s) to use for Python. Specifically, which would you recommend (and why) for building GUI apps in Python: TKinter BOA PyQT ...
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...
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...
16
by: Nanoscalesoft | last post by:
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...
9
by: Eric Jardim | last post by:
Hi, Is there any site that gather all the documentation about PyQt? The docs of the Riverbank site is poor, and I have found separate tutorials on the net. I know that the Kompany have made...
4
by: Phil Thompson | last post by:
Riverbank Computing is pleased to announce the release of PyQt v3.14 available from http://www.riverbankcomputing.co.uk/. Changes since the last release include support for QScintilla v1.5. ...
3
by: Phil Thompson | last post by:
Riverbank Computing is pleased to announce the release of PyQt v4.0beta1 available from http://www.riverbankcomputing.co.uk/pyqt/. PyQt is a comprehensive set of Qt bindings for the Python...
1
by: Alexander Eisenhuth | last post by:
Hello alltogether, My System: Python 2.5.1 Boost.Python Qt 4.2.2 SIP 4.6 PyQt 4.2 WinXp
9
by: cgrebeld | last post by:
Is it possible for a Qt C++ application, which embeds the python interpreter, to import and use PyQt? There can be only one QApplication, which is created in the C++ side, so how would I use that...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.