[PyQt] trouble installing pyqt4 from source on fedora 13

Phil Thompson phil at riverbankcomputing.com
Thu Sep 30 15:33:26 BST 2010

On Thu, 30 Sep 2010 10:16:27 -0400, Darren Dale <dsdale24 at gmail.com>
> I just upgraded the OS on a computer at work to fedora 13, and I am
> attempting to install sip and pyqt4 from source (since the versions
> provided by the package manager are surprisingly out of date.) When I
> run "python configure.py", I get the following:
> ---
> Determining the layout of your Qt installation...
> Error: Qt has been built as static libraries so either the -g or -k
> argument
> should be used.
> ---
> I don't think this is accurate. I have installed the qt-devel package
> (4.6.3-8fc13.x86_64), and my /usr/lib64 contains the libQt*.so files
> for all the .so files I expected to see. Here are the contents of
> qtdirs.out:
> ---
> /usr/lib64/qt4
> /usr/include
> /usr/lib64
> /usr/lib64/qt4/bin
> /usr/lib64/qt4
> /usr/lib64/qt4/plugins
> 263683
> 1048575
> Open Source
> PyQt_NoPrintRangeBug
> ---
> Could anyone suggest what I've overlooked? According to
> , the packages I have installed should have provided the shared
> libraries, but I must be missing something.

configure.py is checking to see if QT_SHARED is defined (the blank line in
the output implies it is not). The .pro it creates for qtdirs contains a
workaround for "certain" broken distros to make sure it is set properly.
Maybe the workaround no longer works.


More information about the PyQt mailing list