[PyQt] Building with Visual Studio 2008
Kevin Copps
kevin at rationalthought.org
Sat May 17 17:01:12 BST 2008
I am doing some experimentation with alpha3 Python 2.6 and building with
Visual Studio 2008 C++, so I know I'm living on the edge here...
I can successfully build and install release PyQt-win-gpl-4.3.3 and
everything seems to work. But now I am also trying to build release
PyQt-win-gpl-4.4, but I get the following error message from the linker:
link /NOLOGO /DLL /SUBSYSTEM:WINDOWS \"/MANIFESTDEPENDENCY:type=\'win32\'
name=\'Microsoft.Windows.Common-Controls\' version=\'6.0.0.0\'
publicKeyToken=\'6595b64144ccf1df\' language=\'
*\' processorArchitecture=\'*\'\" /INCREMENTAL:NO /OUT:QtCore.pyd
@C:\Users\Kevin\AppData\Local\Temp\nm62CF.tmp
LINK : fatal error LNK1104: cannot open file
'"/MANIFESTDEPENDENCY:type=\'win32\'.obj'
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\link.EXE"' : return code '0x450'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
It looks like the LFLAGS_WINDOWS variable in pyqtconfig.py is mishandling
quotation marks and backslashes.
This is with qt-win-opensource-src-4.4.0 and sip-4.7.5. In order to get sip
to run from within the Python install, I had to add the following line to
the install target of the Makefile inside the sipgen directory:
copy /y $(TARGET).manifest C:\Python26\$(TARGET).manifest
--kc
More information about the PyQt
mailing list