[PyQt] PyQt 4.4.2 incorrect configuration

Phil Thompson phil at riverbankcomputing.com
Mon Aug 4 15:55:24 BST 2008


On Mon, 04 Aug 2008 09:44:40 -0500, John Arbash Meinel
<john at arbash-meinel.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'll start off by thanking everyone whose worked on this, I find PyQt to
> be a very nice UI toolkit to work with.
> 
> I just ran into a problem with how it is configured after being
> installed. Specifically, with version 4.4.2, it installed most
> Qt-specific functionality into:
> ~  C:\Python25\PyQt4\*
> 
> Which is nice, as it keeps that separated in its own directory. However,
> when I go to actually compile an extension, it fails to find these files.
> 
> I managed to track this down into "sipconfig.py" and
> "PyQt4\pyqtconfig.py". Which uses paths like:
> ~  C:\Python25\sip
> 
> rather than
> ~  C:\Python25\PyQt4\bin\sip

Should be fixed in the next version - so long as you install in the default
location.

> I also wanted to verify something. It seems that installing PyQt
> installs all of the libraries, etc, but it does not install the Qt
> include files. So I cannot actually build an extension. Is that true? Is
> there a way to install "just enough" of Qt so that I don't end up with 2
> copies of all of the dlls/.libs on disk?

The binary installer is intended for the majority of people who don't need
to build their own extensions.

> Again, thanks for the great toolkit. And I'm hoping it is a small thing
> to get the installed paths to be correct without having to manually edit
> the config.py files.

Phil



More information about the PyQt mailing list