[PyQt] Concatenate single-file: need /bigobj

Giovanni Bajo rasky at develer.com
Tue Jun 8 17:43:40 BST 2010

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?
Giovanni Bajo
Develer S.r.l.

More information about the PyQt mailing list