Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Build QtWebEngine failed on Ubuntu14.04

Build QtWebEngine failed on Ubuntu14.04

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 564 Views
  • 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.
  • A Offline
    A Offline
    Amweb
    wrote on last edited by
    #1

    Hi, I am trying to build QtWebEngine according to https://wiki.qt.io/How_to_Try_QtWebEngine.
    I tried QT 4.8.6, 5.5.1, 5.5.0. But all failed.

    The detailed error on 5.5.0(http://download.qt.io/official_releases/qt/5.5/5.5.0/qt-opensource-linux-x64-5.5.0-2.run) is:

    In file included from /g1/qt/qtwebengine/include/QtWebEngineCore/qwebenginecallback.h:1:0,
    from /g1/qt/qtwebengine/src/core/api/qwebenginecookiestore.h:41,
    from /g1/qt/qtwebengine/src/core/browser_context_adapter.h:49,
    from /g1/qt/qtwebengine/src/core/browser_context_adapter.cpp:37:
    /g1/qt/qtwebengine/include/QtWebEngineCore/../../src/core/api/qwebenginecallback.h:94:1: error: expected constructor, destructor, or type conversion before ‘Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT
    Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QWebEngineCallback<const QString &>)
    ^
    In file included from /g1/qt/qtwebengine/src/core/api/qwebenginecookiestore.h:45:0,
    from /g1/qt/qtwebengine/src/core/browser_context_adapter.h:49,
    from /g1/qt/qtwebengine/src/core/browser_context_adapter.cpp:37:
    /opt/Qt5.5.0/5.5/gcc_64/include/QtCore/qurl.h:239:25: error: ‘QUrlQuery’ does not name a
    void setQuery(const QUrlQuery &query);
    ^
    /opt/Qt5.5.0/5.5/gcc_64/include/QtCore/qurl.h:239:36: error: ISO C++ forbids declaration of ‘query’ with no type [-fpermiss
    void setQuery(const QUrlQuery &query);
    ^
    [10/43] CXX obj/src/core/QtWebEngineCore.media_capture_devices_dispatcher.o
    ninja: build stopped: subcommand failed.
    make[3]: *** [invoke_ninja] Error 1
    make[3]: Leaving directory `/g1/qt/qtwebengine/src/core'
    make[2]: *** [sub-gyp_run-pro-make_first] Error 2
    make[2]: Leaving directory `/g1/qt/qtwebengine/src/core'
    make[1]: *** [sub-core-make_first] Error 2
    make[1]: Leaving directory `/g1/qt/qtwebengine/src'
    make: *** [sub-src-make_first] Error 2

    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