[PyQt] QT_SHARED not defined

Matt Newell newellm at blur.com
Tue May 13 00:10:50 BST 2008


On Friday 09 May 2008 15:28:09 Phil Thompson wrote:
> On Friday 09 May 2008 22:13:39 Matt Newell wrote:
> > Using  vanilla qt-x11-4.4.0 with PyQt-x11-gpl-4.4-snapshot-20080508 and
> > sip-4.7.5-snapshot-20080507.
> >
> > Not a problem for me to work around, just thought you might want to know
> > this is still an issue, and afaict is not related to any distribution
> > issues.
>
> What are the circumstances in which it needs to be defined?
>

PyQt's configure script errors with "Qt has been built as static libraries so 
either the -g or -k argument should be used." even though qt is built as 
regular shared libs.

I believe I had the same problem with earlier version of pyqt and just hacked 
the configure.py script to work around it, which I believe is the same thing 
the distro's are doing.  Probably an inconsistency with the qmakespecs or 
something, I haven't looked into it further.

Matt


More information about the PyQt mailing list