473,699 Members | 2,008 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2160
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.or g.ar) -- Random fortune:
Hemos hallado al enemigo, y somos nosotros.
-- Walt Kelly.

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

iD8DBQFCCtrhgPq u395ykGsRAlqyAJ 0YnmBGoH0DvXbNa R8NrvdJGYk0kgCf QhYc
Pdo6Patv37K1Kt0 mFaOyEXE=
=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

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

Similar topics

2
3367
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 Thanks, Dennis
8
4849
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 wxWindows, but am confused with all the Windows licensing issues. For the moment this is just for my own tinkering and utility apps, but
10
2203
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 python as Macosx already has python. I had no problem with compiling SIP and also no problem with compiling PyQt nor did I have any error message during make install.
16
2129
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 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...
9
3727
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 a "Qtdoc"-like to PyQt. But it is not free doc.
4
2209
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. PyQt is a comprehensive set of Qt bindings for the Python programming language and supports the same platforms as Qt. Like Qt, PyQt is available under the GPL (for UNIX, Linux and MacOS/X), a commercial license (for Windows, UNIX, Linux and...
3
2070
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 programming language and supports the same platforms as Qt (Windows, Linux and MacOS/X). Like Qt, PyQt is available under the GPL and a commercial license. PyQt v4 supports Qt v4 (http://www.trolltech.com/products/qt/index.html). PyQt v3 is still...
1
3415
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
5499
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 from the python side?
0
9184
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9042
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8929
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5878
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3061
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 we have to send another system
2
2357
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2013
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.