[PyQt] Build problems on win32

Antonio Valentino antonio.valentino at tiscali.it
Fri Oct 2 20:04:49 BST 2009


Hi list,
I'm trying to build PyQt4.6 on win32 using Qt4.5.3 (SDK 2009.04) and
MSVC 2008.

After building Qt (MSVC2008) and SIP I get the following error message:

>c:\Python26\python.exe configure.py --verbose
Determining the layout of your Qt installation...
C:\Qt\2009.04\qt\bin\qmake.exe -o qtdirs.mk qtdirs.pro
nmake -f qtdirs.mk release

Microsoft (R) Program Maintenance Utility   versione 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        "C:\Programmi\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f
        qtdirs.mk .Release

Microsoft (R) Program Maintenance Utility   versione 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100
        -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL
        -DQT_NO_DEBUG -DQT_CORE_LIB -D QT_THREAD_SUPPORT
        -I"..\..\Qt\2009.04\qt\include\QtCore" -I"..\..\Qt\2009.04\qt\
        include" -I"..\..\Qt\2009.04\qt\include\ActiveQt" -I"release"
        -I"..\..\Qt\2009.0 4\qt\mkspecs\win32-msvc2008" -Forelease\
        @C:\DOCUME~1\ADMINI~1\IMPOST~1\Temp\nm1 763.tmp qtdirs.cpp
        link /LIBPATH:"c:\Qt\2009.04\qt\lib" /NOLOGO /INCREMENTAL:NO /MANIFEST /
MANIFESTFILE:"release\qtdirs.intermediate.manifest" /SUBSYSTEM:WINDOWS
        "/MANIFES TDEPENDENCY:type='win32'
        name='Microsoft.Windows.Common-Controls' version='6.0.0 .0'
        publicKeyToken='6595b64144ccf1df' language='*'
        processorArchitecture='*'" /O UT:release\qtdirs.exe
        @C:\DOCUME~1\ADMINI~1\IMPOST~1\Temp\nm1764.tmp mt.exe -nologo
        -manifest "release\qtdirs.intermediate.manifest" -outputr
        esource:release\qtdirs.exe;1 release\qtdirs.exe Error: Unable
        to find the qmake configuration file
        C:\work3\qt.git\mkspecs\win32-msvc2008\qmake.conf. Use the
        QMAKESPEC environment variable to specify the correct platform.


I can't figure out where "C:\work3\qt.git" came from. 
It seems to be an hardcoded path in qt libs. 


Also note that:

QTDIR=C:\Qt\2008.04\qt
QMAKESPEC=win32-msvc2008

I'm pretty sure it is a mistake on my part but I don't know if the
issue is due to an error in Qt setup or in PyQt configuration step.

Can please anyone help me?

Best regards


-- 
Antonio Valentino


More information about the PyQt mailing list