Hi, I'm trying to build PyQt on Windows, because I want a QT 4.7 build with OpenSSL included. And I try to build them all with the same MS compiler, to be able to debug everything afterwards.
So far OpenSSL, QT and SIP build fine, but when I try to configure PyQt, it only recognizes the QtCore module. It seems as if wrong compiler options are generated, eg there is a compiler option '-lQtNetwork4' which gets dismissed, and afterwards symbols in that library are not found. Are these options generated by the configure script or by qmake, and can I change them somewhere ?? Thx, Erik
Checking to see if the QtNetwork module should be built... cl -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_NETWORK_ LIB -I. -IZ:\sandbox\bootstrapper\trunk\win32\install\mkspecs\default -IZ:\sandb ox\bootstrapper\trunk\win32\install\include\QtNetwork -IZ:\sandbox\bootstrapper\ trunk\win32\install\include -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W0 cfgtest_QtNe twork.cpp -o cfgtest_QtNetwork.exe -LZ:\sandbox\bootstrapper\trunk\win32\install \lib /NOLOGO /MANIFEST /MANIFESTFILE:cfgtest_QtNetwork.manifest /SUBSYSTEM:CONSO LE /INCREMENTAL:NO -lQtNetwork4 -lQtCore4 ws2_32.lib kernel32.lib user32.lib she ll32.lib uuid.lib ole32.lib advapi32.lib cl : Command line warning D9035 : option 'o' has been deprecated and will be rem oved in a future release cl : Command line warning D9002 : ignoring unknown option '-LZ:\sandbox\bootstra pper\trunk\win32\install\lib' cl : Command line warning D9002 : ignoring unknown option '/NOLOGO' cl : Command line warning D9002 : ignoring unknown option '/MANIFEST' cl : Command line warning D9002 : ignoring unknown option '/MANIFESTFILE:cfgtest _QtNetwork.manifest' cl : Command line warning D9002 : ignoring unknown option '/SUBSYSTEM:CONSOLE' cl : Command line warning D9002 : ignoring unknown option '-lQtNetwork4' cl : Command line warning D9002 : ignoring unknown option '-lQtCore4' cfgtest_QtNetwork.cpp cfgtest_QtNetwork.obj : error LNK2019: unresolved external symbol "__declspec(dl limport) public: __thiscall QHostAddress::QHostAddress(void)" (__imp_??0QHostAdd ress@@q...@xz) referenced in function _main cfgtest_QtNetwork.exe : fatal error LNK1120: 1 unresolved externals Checking to see if the QtOpenGL module should be built...
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt