Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt WebEngine problems during Qt 5.14.1 static build from source



  • 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?



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



  • 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
    

Log in to reply