Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5 build failure with QtWebKit
Qt 6.11 is out! See what's new in the release blog

Qt 5 build failure with QtWebKit

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 3.0k 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.
  • J Offline
    J Offline
    json
    wrote on last edited by
    #1

    Hi,

    I'm following the "building Qt 5" steps @ http://developer.qt.nokia.com/wiki/Building_Qt_5_from_Git but it's choking in the QtWebKit submodule. My setup is Ubuntu 10.04.

    It seems to build libQtWebKit OK but then it proceeds to build the tests (even though -nomake tests was used during configure). I then get the following warnings and it bails out:

    /usr/bin/ld: warning: libQtXmlPatterns.so.4, needed by /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libQtWebKit.so, may conflict with libQtXmlPatterns.so.5
    /usr/bin/ld: warning: libQtGui.so.4, needed by /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libQtWebKit.so, may conflict with libQtGui.so.5
    /usr/bin/ld: warning: libQtNetwork.so.4, needed by /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libQtWebKit.so, may conflict with libQtNetwork.so.5
    /usr/bin/ld: warning: libQtCore.so.4, needed by /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libQtWebKit.so, may conflict with libQtCore.so.5
    .obj/release-shared/tst_qwebframe.o: In function tst_QWebFrame::scrollToAnchor()': tst_qwebframe.cpp:(.text+0xdb13): undefined reference to QWebFrame::scrollToAnchor(QString const&)'
    tst_qwebframe.cpp:(.text+0xdbee): undefined reference to QWebFrame::scrollToAnchor(QString const&)' tst_qwebframe.cpp:(.text+0xdc1b): undefined reference to QWebFrame::scrollToAnchor(QString const&)'
    tst_qwebframe.cpp:(.text+0xdd6e): undefined reference to QWebFrame::scrollToAnchor(QString const&)' tst_qwebframe.cpp:(.text+0xdde1): undefined reference to QWebFrame::scrollToAnchor(QString const&)'
    .obj/release-shared/tst_qwebframe.o:tst_qwebframe.cpp:(.text+0xde0e): more undefined references to `QWebFrame::scrollToAnchor(QString const&)' follow
    collect2: ld returned 1 exit status

    Has anyone else run into this issue and found a way to fix it?

    I've gone through the build output and I don't see any path references to my Qt4 desktop libs/headers...

    Thanks!

    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