[PyQt] Problem with paths inside the last PyQt GPL 4.3 binaries ?

Phil Thompson phil at riverbankcomputing.co.uk
Wed Jul 25 08:54:53 BST 2007


On Wednesday 25 July 2007 8:11 am, kib2 wrote:
> Hi,
>
> I'm using PyQt GPL 4.3 [the last Phil's binaries]. Some of my
> env.variables are :
>
> - QMAKESPEC : C:\Qt\4.3.0\mkspecs\win32-g++
> - QTDIR : C:\Qt\4.3.0
> - PATH (part of): C:\MinGW;C:\MinGW\bin;C:\Qt\4.3.0\bin
>
> I took a look at the designer/plugins demo because it refuses to launch
> on my machine (XP SP2).
> Inside the file "deisnger.pyw" :
>
> 1.  Variable "designer_bin" points at the end of the programm to
> "C:/Python25/PyQt4/bin/designer"
>
> 2.  the "env" sets 2 variables :
>      PYQTDESIGNERPATH=C:\Program
> Files\PyQt4\examples\designer\plugins\python
>      PYTHONPATH=C:\Program Files\PyQt4\examples\designer\plugins\widgets
>
> I was very surprised because :
>
> -  My directory C:/Python25/PyQt4 does not contain a bin subdirectory
> (only qsci and translations one);
> -  in the above directories, some use "/", others "\". Is this a normal
> behaviour ?

Designer plugins don't work with the binary installer because everything is 
statically linked. It would be possible to build a version of Designer with 
the necessary support for Python plugins - but I have neither the time nor 
the inclination to do that at the moment.

Phil


More information about the PyQt mailing list