[PyQt] Static Libraries installation

Phil Thompson phil at riverbankcomputing.com
Fri Mar 28 22:10:06 GMT 2014


On 28-03-2014 7:48 pm, Charlie Gentil wrote:
> Hi,
>
> Here is the error message I trying to build PyQt 5 with static
> libraries.
>
> [charlie at charlie PyQt-gpl-5.2.1]$ /home/dev/python/bin/python3
> configure.py --static --qmake=/home/dev/qt/bin/qmake
> --sip=/home/dev/python/bin/sip
>
> Querying qmake about your Qt installation...
>
> Determining the details of your Qt installation...
>
> An internal error occured. Please report all the output from the
> program,
>
> including the following traceback, to support at riverbankcomputing.com.
>
> Traceback (most recent call last):
>
>  File "configure.py", line 2550, in <module>
>
>  main(sys.argv)
>
>  File "configure.py", line 2511, in main
>
>  target_config.from_introspection(opts.verbose, opts.debug)
>
>  File "configure.py", line 525, in from_introspection
>
>  self.qt_shared = (lines[1] == 'shared')
>
> IndexError: list index out of range
>
> Python, Qt and SIP are constructed as in the doc.
>
> Charlie.

As I said in the original announcement, you have to use current 
snapshots as they include fixes for static builds.

Phil


More information about the PyQt mailing list