Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtWebkit linkage error: Again!
Forum Updated to NodeBB v4.3 + New Features

QtWebkit linkage error: Again!

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 850 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    soroush
    wrote on last edited by
    #1

    Hi

    this is pretty crazy. I've changed my -prefix option in my Qt 5.0.0 configure and make again. Source is in a new directory, But the environment, python-perl-ruby, mingw and all other things are exactly same as before. The only difference is -prefix

    I have had problems with Webkit before, though applying these patches helped:

    https://qt.gitorious.org/qt/qtwebkit/commit/a65d837c40c5a6f19cf983e6614b10030d81dc67?format=patch
    https://qt.gitorious.org/qt/qtwebkit/commit/3651ffe993a9243a89fe965fedee9315f3ab68f4?format=patch
    https://qt.gitorious.org/qt/qtwebkit/commit/5e594b14d4b0295ad562211a43fdc996437bac17?format=patch

    Now I'm getting this error:

    @
    ./libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x157): undefined reference to WebCore::HTMLMediaElement::platformMedia() const' ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x1b7): undefined reference to WebCore::HTMLMediaElement::platformMedia() const'
    ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x267): undefined reference to WebCore::HTMLMediaElement::platformMedia() const' ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x2ce): undefined reference to WebCore::HTMLMediaElement::platformMedia() const'
    ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x393): undefined reference to WebCore::HTMLMediaElement::platformMedia() const' ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x352): undefined reference to WebCore::HTMLMediaElement::exitFullscreen()'
    c:/mingw-x64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld.exe: ../libWebKit1d.a(FullScreenVideoQt.o): bad reloc address 0x0 in section `.pdata'
    collect2.exe: error: ld returned 1 exit status
    Makefile.api.Debug:81: recipe for target '..\lib\Qt5WebKitd.dll' failed
    @

    This makes no sense. I have compiled Qt on Jan 12th successfully. Now What is this linkage error after changing prefix?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved