Results 1 to 2 of 2

Thread: Qt 4.8.4 Webkit error while building

  1. #1
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Qt 4.8.4 Webkit error while building

    Hello,

    I am getting this error while building qt 4.8.4:-
    Qt Code:
    1. ./tmp\obj\debug_shared\qwebelement.o:qwebelement.cpp:(.text+0x1c3a): undefined r
    2. eference to `WebCore::CSSStyleSelector::styleRulesForElement(WebCore::Element*,
    3. bool, bool, WebCore::CSSRuleFilter)'
    4. ..\..\WebCore\debug/libwebcore.a(StyleMedia.o):StyleMedia.cpp:(.text+0x145): und
    5. efined reference to `WebCore::CSSStyleSelector::styleForElement(WebCore::Element
    6. *, WebCore::RenderStyle*, bool, bool, bool)'
    7. ..\..\WebCore\debug/libwebcore.a(WebKitCSSMatrix.o):WebKitCSSMatrix.cpp:(.text+0
    8. x2cd): undefined reference to `WebCore::CSSStyleSelector::createTransformOperati
    9. ons(WebCore::CSSValue*, WebCore::RenderStyle*, WebCore::RenderStyle*, WebCore::T
    10. ransformOperations&)'
    11. ..\..\WebCore\debug/libwebcore.a(Node.o):Node.cpp:(.text+0x35ae): undefined refe
    12. rence to `WebCore::CSSStyleSelector::styleForElement(WebCore::Element*, WebCore:
    13. :RenderStyle*, bool, bool, bool)'
    14. ..\..\WebCore\debug/libwebcore.a(Node.o):Node.cpp:(.text+0x4943): undefined refe
    15. rence to `WebCore::CSSStyleSelector::SelectorChecker::SelectorChecker(WebCore::D
    16. ocument*, bool)'
    17. ..\..\WebCore\debug/libwebcore.a(Node.o):Node.cpp:(.text+0x4a39): undefined refe
    18. rence to `WebCore::CSSStyleSelector::SelectorChecker::checkSelector(WebCore::CSS
    19. Selector*, WebCore::Element*) const'
    20. ..\..\WebCore\debug/libwebcore.a(Node.o):Node.cpp:(.text+0x4aef): undefined refe
    21. rence to `WebCore::CSSStyleSelector::SelectorChecker::checkSelector(WebCore::CSS
    22. Selector*, WebCore::Element*) const'
    23. c:/qt-4.8.4/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w
    24. 64-mingw32/bin/ld.exe: ..\..\WebCore\debug/libwebcore.a(Node.o): bad reloc addre
    25. ss 0x4c in section `.xdata'
    26. collect2.exe: error: ld returned 1 exit status
    27. jom: C:\qt-4.8.4\4.8.4-qt-x64-build\src\3rdparty\webkit\Source\WebKit\qt\Makefil
    28. e.WebKit.QtWebKit.Debug [..\..\..\..\..\..\lib\QtWebKitd4.dll] Error 1
    29. jom: Leaving directory 'C:\qt-4.8.4\4.8.4-qt-x64-build\src\3rdparty\webkit\Sourc
    30. e\WebKit\qt'
    31. jom: C:\qt-4.8.4\4.8.4-qt-x64-build\src\3rdparty\webkit\Source\WebKit\qt\Makefil
    32. e.WebKit.QtWebKit [debug-all] Error 2
    33. jom: Leaving directory 'C:\qt-4.8.4\4.8.4-qt-x64-build\src\3rdparty\webkit\Sourc
    34. e\WebKit\qt'
    35. jom: C:\qt-4.8.4\4.8.4-qt-x64-build\src\3rdparty\webkit\Source\Makefile.WebKit [
    36. sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2
    37. jom: Leaving directory 'C:\qt-4.8.4\4.8.4-qt-x64-build\src\3rdparty\webkit\Sourc
    38. e'
    39. jom: C:\qt-4.8.4\4.8.4-qt-x64-build\Makefile [sub-webkit-make_default-ordered] E
    40. rror 2
    41. jom: Leaving directory 'C:\qt-4.8.4\4.8.4-qt-x64-build'
    To copy to clipboard, switch view to plain text mode 

    Anyone has the solution for this?

    Thankyou
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

  2. #2
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Qt 4.8.4 Webkit error while building

    Did you bother to google?
    if not, add this to your project file, it may because of that:

    QT += webkit

Similar Threads

  1. [Newbie QT Embedded] Build Webkit for Genetic Ubuntu Error ?
    By Thành Viên Mới in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 5th November 2010, 02:57
  2. Replies: 4
    Last Post: 23rd September 2010, 15:20
  3. Replies: 2
    Last Post: 15th February 2010, 06:42
  4. WebKit compilation error with GCC
    By piotr.dobrogost in forum Installation and Deployment
    Replies: 4
    Last Post: 16th July 2009, 18:20
  5. Problem in building QT webkit in debug mode
    By sm38098 in forum Newbie
    Replies: 0
    Last Post: 31st March 2009, 05:23

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.