Results 1 to 5 of 5

Thread: 4.6.3 configure with or without Webkit gives Webkit like error

  1. #1
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 4.6.3 configure with or without Webkit gives Webkit like error

    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!!!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 4.6.3 configure with or without Webkit gives Webkit like error

    Did you run "make distclean" prior to rebuilding Qt?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: 4.6.3 configure with or without Webkit gives Webkit like error

    I haven't tried "nmake distclean".

    I will give that a shot later tonight and post the results.

    I am assuming that it needs to be ran after "nmake confclean" but prior to "configure ..."

    Is that correct?

    Thanks!

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 4.6.3 configure with or without Webkit gives Webkit like error

    It's irrelevant whether you run it after or before it. It will clean all generated files and leave you with a pristine source tree (with exception to config.status and such).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following user says thank you to wysota for this useful post:

    jetimms (23rd September 2010)

  6. #5
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: 4.6.3 configure with or without Webkit gives Webkit like error

    I humbly offer a belated thanks for your assistance.

    I was never able to get 2010.04 to nmake successfully, although there were a few rabbit holes to delve to get me there. I did try "nmake distclean" several times to no avail.

    I did however get the 4.6.3 libraries to configure and nmake. (The make took about 6 hours.)

    I discovered that the libraries come with a lot of tools, qmake being the one I wanted most. I was led to believe from the Qt site that qmake is one of the tools that comes with the SDK only from http://qt.nokia.com/products/developer-tools, a link describing QtCreators cross-compile features. I was pleasantly surprised that this was not the case.

    Anyhow, I was able to build with Qt's Webkit in this case. The following is my configuration setup in case anyone wishes to see it (I am running on a XP Pro x64 box targeting windows and using the win32-msvc2008 compiler):
    Qt Code:
    1. -debug-and-release -opensource -shared -no-fast -exceptions -accessibility -stl -no-sql-db2 -no-sql-mysql -no-sql-oci -qt-sql-odbc -no-sql-psql -qt-sql-sqlite -no-sql-tds -no-openvg -platform win32-msvc2008 -graphicssystem raster -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -dsp -vcproj -no-incredibuild-xge -plugin-manifests -qmake -process -rtti -phonon-backend -multimedia -webkit -arch windows -qt-style-windows -qt-style-windowsxp -qt-style-windowsvista -qt-style-plastique -qt-style-cleanlooks -qt-style-motif -qt-style-cde -native-gestures
    To copy to clipboard, switch view to plain text mode 

    Note that many of these settings are defaults. I like a descriptive configuration file that tells what the setup is (although I keep a copy of the "configuration -help" of each version too).

    Thanks again. Next stop, installing and making 4.7 libs this weekend.

Similar Threads

  1. [WebKit] catch "page not found" error
    By maston in forum Qt Programming
    Replies: 3
    Last Post: 16th November 2010, 15:44
  2. Replies: 2
    Last Post: 15th February 2010, 06:42
  3. WebKit compilation error with GCC
    By piotr.dobrogost in forum Installation and Deployment
    Replies: 4
    Last Post: 16th July 2009, 18:20
  4. Qt Webkit
    By lyucs in forum Installation and Deployment
    Replies: 1
    Last Post: 26th June 2009, 19:31
  5. qt webkit
    By kernel_panic in forum Qt Programming
    Replies: 5
    Last Post: 4th November 2007, 20:03

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.