I'm using PyQt 4.7.2 gpl Qt 4.6.2 using windows msvc 2008 I built Qt with:
configure -platform win32-msvc2008 -static -release -qt-libjpeg -qt-zlib -qt-libpng -qt-gif -qt-libtiff -qt-sql-sqlite -nomake examples -nomake demos -no-vcproj -no-incredibuild-xge -openssl-linked OPENSSL_LIBS="-llibeay32MT -lssleay32MT" -I "C:\OpenSSL\include" -L "C:\OpenSSL\lib\VC\static" nmake sub-src Followed by building SIP the normal way Then building PyQt with python configure.py -g -t qgif -t qjpeg -t qtiff -t qsvg [-g] for consolidated however, during the build, it will not build QtScript or QtWebkit module, giving me these errors: Checking to see if the QtScript module should be built... cl -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -I. -IC:\Qt\4.6.2static\mkspecs\default -IC:\Qt\4.6.2static\include\QtScript -IC:\Qt\4.6.2static\include -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W0 cfgtest_QtScript.cpp -Fe /link /LIBPATH:C:\Qt\4.6.2static\lib /NOLOGO /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:cfgtest_QtScript.manifest /SUBSYSTEM:CONSOLE QtScript.lib QtCore.lib kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib cfgtest_QtScript.cpp QtScript.lib(CurrentTime.obj) : error LNK2019: unresolved external symbol __imp__timeendper...@4 referenced in function "double __cdecl QTWTF::currentTime(void)" (?currentt...@qtwtf@@YANXZ) QtScript.lib(CurrentTime.obj) : error LNK2019: unresolved external symbol __imp__timebeginper...@4 referenced in function "double __cdecl QTWTF::currentTime(void)" (?currentt...@qtwtf@@YANXZ) cfgtest_QtScript.exe : fatal error LNK1120: 2 unresolved externals Checking to see if the QtWebKit module should be built... cl -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_CORE_LIB -I. -IC:\Qt\4.6.2static\mkspecs\default -IC:\Qt\4.6.2static\include\QtWebKit -IC:\Qt\4.6.2static\include\QtCore -IC:\Qt\4.6.2static\include -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W0 cfgtest_QtWebKit.cpp -Fe /link /LIBPATH:C:\Qt\4.6.2static\lib /NOLOGO /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:cfgtest_QtWebKit.manifest /SUBSYSTEM:CONSOLE QtWebKit.lib QtNetwork.lib QtGui.lib ws2_32.lib gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ole32.lib user32.lib advapi32.lib QtCore.lib kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib cfgtest_QtWebKit.cpp Creating library cfgtest_QtWebKit.lib and object cfgtest_QtWebKit.exp QtWebKit.lib(PluginPackageWin.obj) : error LNK2019: unresolved external symbol _verqueryval...@16 referenced in function "class WebCore::String __cdecl WebCore::getVersionInfo(void * const,class WebCore::String const &)" (?getversioni...@webcore@@ya?avstr...@1@QAXABV21@@Z) QtWebKit.lib(PluginPackageWin.obj) : error LNK2019: unresolved external symbol _getfileversionin...@16 referenced in function "private: bool __thiscall WebCore::PluginPackage::fetchInfo(void)" (?fetchi...@pluginpackage@WebCore@@AAE_NXZ) QtWebKit.lib(PluginPackageWin.obj) : error LNK2019: unresolved external symbol _getfileversioninfosi...@8 referenced in function "private: bool __thiscall WebCore::PluginPackage::fetchInfo(void)" (?fetchi...@pluginpackage@WebCore@@AAE_NXZ) QtWebKit.lib(PluginDatabaseWin.obj) : error LNK2019: unresolved external symbol __imp__pathremovefilesp...@4 referenced in function "class WebCore::String __cdecl WebCore::safariPluginsDirectory(void)" (?safaripluginsdirect...@webcore@@ya?avstr...@1@XZ) QtWebKit.lib(PluginDatabaseWin.obj) : error LNK2019: unresolved external symbol __imp__shgetval...@24 referenced in function "void __cdecl WebCore::addWindowsMediaPlayerPluginDirectory(class WTF::Vector<class WebCore::String,0> &)" (?addwindowsmediaplayerplugindirect...@webcore@@yaxaav?$vec...@vstring@WebCore@@$0A@@WTF@@@Z) QtWebKit.lib(PluginDatabaseWin.obj) : error LNK2019: unresolved external symbol __imp__pathcombi...@12 referenced in function "void __cdecl WebCore::addMacromediaPluginDirectories(class WTF::Vector<class WebCore::String,0> &)" (?addmacromediaplugindirector...@webcore@@yaxaav?$vec...@vstring@WebCore@@$0A@@WTF@@@Z) QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: unresolved external symbol "public: __thiscall QAbstractMessageHandler::QAbstractMessageHandler(class QObject *)" (??0QAbstractMessageHandler@@q...@pavqobject@@@Z) referenced in function "public: __thiscall WebCore::XSLTMessageHandler::XSLTMessageHandler(class WebCore::Document *)" (??0xsltmessagehand...@webcore@@q...@pavdocument@1@@Z) QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall QAbstractMessageHandler::metaObject(void)const " (?metaobj...@qabstractmessagehandler@@UBEPBUQMetaObject@@XZ) QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2001: unresolved external symbol "public: virtual void * __thiscall QAbstractMessageHandler::qt_metacast(char const *)" (?qt_metac...@qabstractmessagehandler@@uaepax...@z) and a bunch more.... Anyone has any ideas? _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
