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 WebEngine problems during Qt 5.14.1 static build from source
Forum Updated to NodeBB v4.3 + New Features

Qt WebEngine problems during Qt 5.14.1 static build from source

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 1.2k 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.
  • B Offline
    B Offline
    bruh
    wrote on last edited by
    #1

    Hello there. I am trying to build static Qt 5.14.1 from sources and after running make I got this: (Actually this is a second output, first one had this error too so I decided to run make again hoping that it would magically repair itself :^) )

    Done. Made 11522 targets from 1716 files in 15426ms
    ninja -v  -C /home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtwebengine/src/core/release QtWebEngineCore
    ninja: Entering directory `/home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtwebengine/src/core/release'
    [1/15] /usr/bin/python2 ../../../../../qtwebengine/src/3rdparty/chromium/tools/licenses.py --target-os=linux --depfile=gen/components/resources/about_credits.d credits gen/components/resources/about_credits.html
    make[4]: exit from «/home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtwebengine/src/core»
    cd api/ && ( test -e Makefile.core_api || /home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtbase/bin/qmake -o Makefile.core_api /home/ME/temp/qt-everywhere-src-5.14.1/qtwebengine/src/core/api/core_api.pro ) && make -f Makefile.core_api 
    make[4]: enter in «/home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtwebengine/src/core/api»
    /home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtbase/bin/qmake -o Makefile.core_api /home/ME/temp/qt-everywhere-src-5.14.1/qtwebengine/src/core/api/core_api.pro
    make[4]: Target «first» does not require execution of commands
    make[4]: exit from «/home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtwebengine/src/core/api»
    ( test -e Makefile.core_module || /home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtbase/bin/qmake -o Makefile.core_module /home/ME/temp/qt-everywhere-src-5.14.1/qtwebengine/src/core/core_module.pro ) && make -f Makefile.core_module 
    Project ERROR: Missing archive files from QtWebEngineCore linking pri
    Makefile:124: recipe for target 'sub-core_module-pro-make_first' failed
    make[3]: *** [sub-core_module-pro-make_first] Error 3
    make[3]: exit from «/home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtwebengine/src/core»
    Makefile:77: recipe for target 'sub-core-make_first' failed
    make[2]: *** [sub-core-make_first] Error 2
    make[2]: exit from «/home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtwebengine/src»
    Makefile:48: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: exit from «/home/ME/temp/qt-everywhere-src-5.14.1/qt-build-static/qtwebengine»
    Makefile:1087: recipe for target 'module-qtwebengine-make_first' failed
    make: *** [module-qtwebengine-make_first] Error 2
    

    My config.summary related stuff:

    Qt WebEngine Build Tools:
      Use System Ninja ....................... yes
      Use System Gn .......................... no
      Jumbo Build Merge Limit ................ 8
      Developer build ........................ no
      QtWebEngine required system libraries:
        fontconfig ........................... yes
        dbus ................................. yes
        nss .................................. yes
        khr .................................. yes
        glibc ................................ yes
      QtWebEngine required system libraries for qpa-xcb:
        x11 .................................. yes
        libdrm ............................... yes
        xcomposite ........................... yes
        xcursor .............................. yes
        xi ................................... yes
        xtst ................................. yes
      Optional system libraries used:
        re2 .................................. no
        icu .................................. no
        libwebp, libwebpmux and libwebpdemux . yes
        opus ................................. yes
        ffmpeg ............................... yes
        libvpx ............................... no
        snappy ............................... no
        glib ................................. yes
        zlib ................................. yes
        minizip .............................. yes
        libevent ............................. yes
        jsoncpp .............................. yes
        protobuf ............................. no
        libxml2 and libxslt .................. no
        lcms2 ................................ no
        png .................................. yes
        JPEG ................................. yes
        harfbuzz ............................. no
        freetype ............................. yes
    Qt WebEngineCore:
      Embedded build ......................... no
      Full debug information ................. no
      Pepper Plugins ......................... yes
      Printing and PDF ....................... yes
      Proprietary Codecs ..................... no
      Spellchecker ........................... yes
      Native Spellchecker .................... no
      WebRTC ................................. yes
      Geolocation ............................ yes
      WebChannel support ..................... yes
      Use v8 snapshot ........................ yes
      Kerberos Authentication ................ no
      Extensions ............................. yes
      Support qpa-xcb ........................ yes
      Use ALSA ............................... yes
      Use PulseAudio ......................... yes
    Qt WebEngineQml:
      Support Qt WebEngine Qml ............... yes
      UI Delegates ........................... yes
      Test Support ........................... no
    Qt WebEngineWidgets:
      Support Qt WebEngine Widgets ........... yes
    

    And now these 2 words: Done and ERROR are kinda confusing me... What went wrong with QtWebEngine? Am i now unable to use this module? I mean I didn't plan to (for now at least) but if I can reconfigure something and build Qt with it rn, it would save me a lot of time and nerves I guess. Can you help me?

    1 Reply Last reply
    1
    • B Offline
      B Offline
      bruh
      wrote on last edited by
      #2

      UPD: I've built Qt shared and it's all ok but I still want to solve this.

      1 Reply Last reply
      1
      • P Offline
        P Offline
        pinebit
        wrote on last edited by
        #3

        I have the same error while building the static library.

        Config is this:

        configure -commercial -debug-and-release -static -static-runtime -mp -webengine-proprietary-codecs -nomake examples -nomake tests
        
        1 Reply Last reply
        1

        • Login

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