[PyQt] Re: trouble installing PyQt

Gerard Vermeulen gerard.vermeulen at grenoble.cnrs.fr
Fri Apr 13 09:48:09 BST 2007


On Fri, 13 Apr 2007 10:39:47 +0200
Giovanni Bajo <rasky at develer.com> wrote:

> On 13/04/2007 8.24, Mark Summerfield wrote:
> 
> >>> BTW, PyQt's binary install could verify this automatically and *at
> >>> least* display a warning. Phil?
> 
> >> I suppose so - but it's really up to the Qt installer to get this
> >> right.
> > 
> > I do think you're missing the point here.
> > 
> > You install GPL Qt, but if you want to run PyQt4 programs they just
> > don't work by double-clicking. So you can either run the Qt console
> > shortcut which executes qtvars.bat and run them from the
> > console---ugly, or you can manually add Qt to the path. Since _you_
> > know where Qt is when PyQt is installed, you could either (1) add
> > Qt's bin dir to the path (yes please), or (2) at least tell the
> > poor user to do it themselves! TT are never going to do this
> > because as far as they're concerned they've got qtvars.bat.
> 
> Agreed, but remember that there could easily be more than on version
> of Qt4 installed on the same computer, so it's hard for the installer
> to automatically know what to do. It could show the list of all
> available Qt4 versions and let the user pick one to add to the PATH,
> but that's really elaborated. I guess it's easier to just warn the
> user about "no Qt4 found in the PATH".
> 
> Phil, how do you create the Windows installer? InnoSetup? Is the
> source code available somewhere?

In the PyQt-gpl-win zip files -- Gerard


More information about the PyQt mailing list