[PyKDE] Compliling pyqt4
David Boddie
david at boddie.org.uk
Mon Jan 15 01:51:24 GMT 2007
On Mon Jan 15 02:27:21 MET 2007, pykde at x11.cjb.net wrote:
> So I am back where I was last week, I think I really do need to install a
> newer version of pyqt4.
>
> After downloading the 4.1.1 package I tried:
>
> $ python configure.py
> Determining the layout of your Qt installation...
> Error: Failed to create ./qtdirs. Make sure you have a working Qt v4 qmake
> on your PATH or use the -q argument to explicitly specify a working Qt v4
> qmake.
>
> So then I looked for qmake:
[...]
> qmake-qt4
[...]
> So then I tried with the -q arguement:
>
> $ python configure.py - q /usr/bin/qmake-qt4
> Determining the layout of your Qt installation...
> Error: Failed to create ./qtdirs. Make sure you have a working Qt v4 qmake
> on your PATH or use the -q argument to explicitly specify a working Qt v4
> qmake.
I'm guessing you actually wrote "-q" rather than "- q". If so, you might need
to find a location for qmake outside the /usr/bin directory. Traditionally,
on Debian-based systems, I believe that qmake (for Qt 3) is located at
/usr/share/qt3/bin/qmake, so the version for Qt 4 _may_ be located at
/usr/share/qt4/bin/qmake as well.
It might be worth trying that:
python configure.py -q /usr/share/qt4/bin/qmake
> Is this not the right qmake, or should I be specifying it in a different
> way?
It looks OK to me.
> I don't suppose there is some sort of binary package I could install on
> kubuntu dapper since Nov. 19, 2006.
That would be easiest - if a later version of Kubuntu is supplied with a
more up-to-date version of PyQt4, you may need to obtain a backported version
from somewhere, or someone to package it for you. :-)
David
More information about the PyQt
mailing list