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. QTWebEngine not building
Qt 6.11 is out! See what's new in the release blog

QTWebEngine not building

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

    Hi,

    I followed the instructions for cloning the Qt WebEngine source, under http://qt-project.org/wiki/QtWebEngineHowToTry, and tried to build the whole project. It built fine until about a month ago, but since then the tree has been continuously broken.

    Even doing a fresh clone and make fails, and always with this error:
    ^
    ../../src/core/content_browser_client_qt.cpp: In member function ‘virtual void ShareGroupQtQuick::AboutToAddFirstContext()’:
    ../../src/core/content_browser_client_qt.cpp:261:36: error: ‘sharedOpenGLContext’ is not a member of ‘QSGContext’
    QOpenGLContext *shareContext = QSGContext::sharedOpenGLContext();
    ^
    ninja: build stopped: subcommand failed.
    make[3]: *** [invoke_ninja] Error 1
    make[3]: Leaving directory /home/pds/work/qtwebengine/src/core' make[2]: *** [sub-gyp_run-pro-make_first] Error 2 make[2]: Leaving directory /home/pds/work/qtwebengine/src/core'
    make[1]: *** [sub-core-make_first] Error 2
    make[1]: Leaving directory `/home/pds/work/qtwebengine/src'
    make: *** [sub-src-make_first] Error 2

    This error always occurs during the final linking, on the object 8982/8983 or the Ninja build.

    Can someone help me resolve this, or else post a Last Known Good Release of the QT WebEngine source tree which builds, while I wait for this tree to stabilize ? I really need this since I'm working on an External project integrating with QTWebEngine and Chromium, and have had to go back to using the QTWebKit widgets as a fallback while waiting for QTWebEngine to be fixed.

    I am building on Fedora 19, and have tried with both QT 5.1 and QT 5.2 Beta, neither of which works.

    Thanks,

    pfdsouza

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pfdsouza
      wrote on last edited by
      #2

      Ok, the issue was QT 5.2 Beta. Once I uninstalled that and went back to using Qt 5.1.1 it built.

      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