On Tue, 08 Jun 2010 18:43:40 +0200, Giovanni Bajo <[email protected]>
wrote:
> Hi Phil,
> 
> while compiling PyQt for Qt 4.6 in concatanate mode on Windows, a hard 
> limit of the obj file format is hit by QtGui (number of sections). 
> Visual Studio itself suggests compilation with the command line option 
> /bigobj, which fixes it, but it is available only on msvc2005 and newer.
> 
> If you look at the documentation of MSVC, the only reason why NOT to use 
> /bigobj is to produce obj files that can be linked with a pre-2005 
> linker. So I think it would be safe to always enable it for PyQt 
> compilation when using a newer-enough Visual Studio version.
> 
> What is the correct place to do this modification?

Something like...

python configure.py ... CXXFLAGS+=/bigobj

Phil
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to