Hello,
I seem to be having some problems compiling the commercial version of
PyQt on Windows. I suspect there is a configuration option I am
unaware of which would solve the problem. As I see it, there are two
problems happening here:
1) The link step is pointing to the wrong directory for Qt. It seems to
have found the correct location for includes, but cannot find it for
libs.
2) It is looking for QtCore.lib, which I do not seem to have. I do have
QtCore4.lib.
Below is a log of my attempt at building. Any advice would be
appreciated.
Thank you
James Hinchey
------------------------------------------------------------------------
--------------------------
C:\PyQt-win-commercial-4.8.3>\python27\python.exe configure.py --verbose
Determining the layout of your Qt installation...
C:\svn\pkg\3rdParty\3rdPartyPackages\Qt-4.4.0-msvc.net_2003\bin\qmake.ex
e -o qtdirs.mk qtdirs.pro
nmake -f qtdirs.mk release
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
nmake -f qtdirs.mk.Release
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c -nologo -Zm300 -O2 -MD -W3 -w34100 -w34189 -DUNICODE
-DWIN32 -DQT
LARGEFILE_SUPPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"c:\Qt\4.4.0\include\QtCore" -I"c:\Qt\4.4.0\include"
-I"c:\Qt\4.4.0\include\ActiveQt" -I"release" -I"."
-I"..\svn\pkg\3rdParty\3rdPartyPackages\Qt-4.4.0-msvc.net_2003\mksepcs\w
in32-msvc2003" -Forelease\ @C:\DOCUME~1\jhinchey\LOCALS~1\Temp\nm140.tmp
qtdirs.cpp
link /LIBPATH:"c:\Qt\4.4.0\lib" /NOLOGO /INCREMENTAL:NO
/SUBSYSTEM:WINDOWS /OUT:release\qtdirs.exe
@C:\DOCUME~1\jhinchey\LOCALS~1\Temp\nm141.tmp
LINK : fatal error LNK1181: cannot open input file 'QtCore.lib'
NMAKE : fatal error U1077: 'link' : return code '0x49d'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
.NET 2003\Vc7\bin\nmake.exe"' : return code '0x2'
Stop.
Error: Failed to determine the layout of your Qt installation. Try again
using
the --verbose flag to see more detail about the problem.
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt