I first ran configure with the "-webkit" flag, but got install errors (similar to the below, maybe the exact same.)

After doing a successful "nmake confclean", I fixed my .cache file to now contain "-no-webkit" instead of "-webkit".

I successfully ran "configure -loadconfig myConfigureFile.cache" and after doing nmake I get warnings like the following ...

Qt Code:
  1. C:\Qt\2010.04\qt\src\3rdparty\webkit\WebCore\accessibility\AXObjectCache.h(139)
  2. : warning C4100: 'postToElement' : unreferenced formal parameter
To copy to clipboard, switch view to plain text mode 

and followed by a termination while compiling/linking with the following ...

Qt Code:
  1. cl -c -FIWebKit_pch.h -YuWebKit_pch.h -Fpobj\debug\QtWebKitd_pch.pch -no
  2. logo -Zm200 -Zc:wchar_t- -wd4291 -wd4344 -wd4396 -wd4503 -wd4800 -wd4819 -wd4996
  3. -Zi -MDd -W3 -w34100 -w34189 -GR -EHsc -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICOD
  4. E -DWIN32 -DQT_LARGEFILE_SUPPORT -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DQT_MAKE
  5. DLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
  6. -D_USE_MATH_DEFINES -DNDEBUG -DBUILD_WEBKIT -D_HAS_TR1=0 -DENABLE_JAVASCRIPT_DE
  7. BUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICA
  8. TIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGIN
  9. G=1 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0
  10. -DENABLE_FILTERS=0 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_WML=0 -DENABLE_SHA
  11. RED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DATAGRID=0 -DENABLE
  12. _SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION
  13. =1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_RUBY=1 -DENABLE_VIDEO=1 -
  14. DENABLE_DATALIST=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=0 -DENABL
  15. E_XSLT=1 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DB
  16. UILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_JIT=0 -DSQLITE_CORE -DSQLITE_OMIT
  17. _LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_DLL -DQT_XMLPATTERNS_LIB -DQT_GUI_LI
  18. B -DQT_NETWORK_LIB -DQT_CORE_LIB -I"..\..\..\..\include\QtCore" -I"..\..\..\..\i
  19. nclude\QtNetwork" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\QtXmlPatt
  20. erns" -I"..\..\..\..\include" -I"bridge\qt" -I"page\qt" -I"platform\graphics\qt"
  21. -I"platform\network\qt" -I"platform\qt" -I"..\WebKit\qt\WebCoreSupport" -I"." -
  22. I"accessibility" -I"bindings\js" -I"bridge" -I"bridge\c" -I"css" -I"dom" -I"dom\
  23. default" -I"editing" -I"history" -I"html" -I"html\canvas" -I"inspector" -I"loade
  24. r" -I"loader\appcache" -I"loader\archive" -I"loader\icon" -I"notifications" -I"p
  25. age" -I"page\animation" -I"platform" -I"platform\animation" -I"platform\graphics
  26. " -I"platform\graphics\filters" -I"platform\graphics\transforms" -I"platform\ima
  27. ge-decoders" -I"platform\mock" -I"platform\network" -I"platform\sql" -I"platform
  28. \text" -I"plugins" -I"rendering" -I"rendering\style" -I"storage" -I"svg" -I"svg\
  29. animation" -I"svg\graphics" -I"svg\graphics\filters" -I"websockets" -I"wml" -I"w
  30. orkers" -I"xml" -I"generated" -I"..\JavaScriptCore" -I"..\..\webkit" -I"..\JavaS
  31. criptCore\assembler" -I"..\JavaScriptCore\bytecode" -I"..\JavaScriptCore\bytecom
  32. piler" -I"..\JavaScriptCore\debugger" -I"..\JavaScriptCore\interpreter" -I"..\Ja
  33. vaScriptCore\jit" -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\profiler" -I
  34. "..\JavaScriptCore\runtime" -I"..\JavaScriptCore\wrec" -I"..\JavaScriptCore\wtf"
  35. -I"..\JavaScriptCore\wtf\symbian" -I"..\JavaScriptCore\wtf\unicode" -I"..\JavaS
  36. criptCore\yarr" -I"..\JavaScriptCore\API" -I"..\JavaScriptCore\ForwardingHeaders
  37. " -I"generated" -I"..\JavaScriptCore\os-win32" -I"..\WebKit\qt\Api" -I"..\..\..\
  38. ..\include\QtWebKit" -I"tmp\rcc\debug_shared" -I"tmp" -I"..\JavaScriptCore\pcre"
  39. -I"c:\Qt\2010.04\qt\src\3rdparty\webkit\WebKitBuild\Debug\JavaScriptCore\tmp" -
  40. I"plugins\win" -I"platform\win" -I"..\..\sqlite" -I"..\..\..\..\include\phonon"
  41. -I"..\..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs
  42. \win32-msvc2008" -Foobj\debug\ @C:\DOCUME~1\JETimms\LOCALS~1\Temp\nm550F.tmp
  43. qrc_WebCore.cpp
  44. qrc_WebKit.cpp
  45. Generating Code...
  46. link /LIBPATH:"c:\Qt\2010.04\qt\lib" /LIBPATH:"c:\Qt\2010.04\qt\lib" /NO
  47. LOGO /DEBUG /DLL /MANIFEST /MANIFESTFILE:"obj/debug\QtWebKitd.intermediate.manif
  48. est" /VERSION:4.63 /OUT:..\..\..\..\lib\QtWebKitd4.dll @C:\DOCUME~1\JETimms\LOCA
  49. LS~1\Temp\nm5511.tmp
  50. Creating library ..\..\..\..\lib\QtWebKitd4.lib and object ..\..\..\..\lib\Qt
  51. WebKitd4.exp
  52. QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: vi
  53. rtual struct QMetaObject const * __thiscall WebCore::FormDataIODevice::metaObjec
  54. t(void)const " (?metaObject@FormDataIODevice@WebCore@@UBEPBUQMetaObject@@XZ)
  55. QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: vi
  56. rtual void * __thiscall WebCore::FormDataIODevice::qt_metacast(char const *)" (?
  57. qt_metacast@FormDataIODevice@WebCore@@UAEPAXPBD@Z)
  58. QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: vi
  59. rtual int __thiscall WebCore::FormDataIODevice::qt_metacall(enum QMetaObject::Ca
  60. ll,int,void * *)" (?qt_metacall@FormDataIODevice@WebCore@@UAEHW4Call@QMetaObject
  61. @@HPAPAX@Z)
  62.  
  63. ...
  64.  
  65. FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected:
  66. void __thiscall QWebPage::downloadRequested(class QNetworkRequest const &)" (?do
  67. wnloadRequested@QWebPage@@IAEXABVQNetworkRequest@@@Z) referenced in function "pu
  68. blic: virtual void __thiscall WebCore::FrameLoaderClientQt::startDownload(struct
  69. WebCore::ResourceRequest const &)" (?startDownload@FrameLoaderClientQt@WebCore@
  70. @UAEXABUResourceRequest@2@@Z)
  71. ..\..\..\..\lib\QtWebKitd4.dll : fatal error LNK1120: 9 unresolved externals
  72. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
  73. VC\BIN\link.EXE"' : return code '0x460'
  74. Stop.
  75. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
  76. VC\BIN\nmake.exe"' : return code '0x2'
  77. Stop.
  78. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  79. Stop.
To copy to clipboard, switch view to plain text mode 

(BTW: the above is the last compile/link portion before erroring out.)

I see that some kind of Webkit thing is being built. I've heard that Qt Webkit port is hard to build so some people don't load it. I did not when I had the 4.5.2 install last year.

Why is it trying to build WebKit when I tell it not to?

Could it be that there's something that I have configured to install that requires Webkit?

I could just not mention it in the configure.cache file and see if that works.

I am building this for msvc-2008 on a XP x64 Pro box, if that makes a difference.


Thanks!!!