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 Static compilation fails with "Missing archive files from linking pri"
Qt 6.11 is out! See what's new in the release blog

QtWebengine Static compilation fails with "Missing archive files from linking pri"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 699 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.
  • G Offline
    G Offline
    ghidraninja
    wrote on last edited by
    #1

    I have seen that multiple people have posted this error, but no one found a working response, not sure why. I am receiving this error when I try to compile qtwebengine with -static option for 5.15.2. I am trying to compile with the following configure option

    /opt/Qt5.15/5.15.2/Src/configure -v -static -make libs -nomake tools -nomake examples -nomake tests -opensource -confirm-license -egl -opengl es2 -skip wayland -static-runtime -mp -webengine-proprietary-codecs
    
    Project ERROR: Missing archive files from linking pri
    make[3]: *** [Makefile:124: sub-core_module-pro-make_first] Error 3
    make[3]: Leaving directory '/opt/Qt5.15/5.15.2/qt5.15.2-static/qtwebengine/src/core'
    make[2]: *** [Makefile:80: sub-core-make_first] Error 2
    make[2]: Leaving directory '/opt/Qt5.15/5.15.2/qt5.15.2-static/qtwebengine/src'
    make[1]: *** [Makefile:49: sub-src-make_first] Error 2
    make[1]: Leaving directory '/opt/Qt5.15/5.15.2/qt5.15.2-static/qtwebengine'
    make: *** [Makefile:1061: module-qtwebengine-make_first] Error 2
    

    This is my output for the config.summary:

    Qt WebEngine Build Tools:
      Use System Ninja ....................... yes
      Use System Gn .......................... no
      Jumbo Build Merge Limit ................ 8
      Developer build ........................ no
      Sanitizer .............................. no
      QtWebEngine required system libraries:
        fontconfig ........................... yes
        dbus ................................. yes
        nss .................................. yes
        khr .................................. yes
        glibc ................................ yes
      Optional system libraries used:
        re2 .................................. yes
        icu .................................. no
        libwebp, libwebpmux and libwebpdemux . yes
        opus ................................. yes
        ffmpeg ............................... no
        libvpx ............................... yes
        snappy ............................... yes
        glib ................................. yes
        zlib ................................. yes
        minizip .............................. yes
        libevent ............................. yes
        jsoncpp .............................. yes
        protobuf ............................. yes
        libxml2 and libxslt .................. no
        lcms2 ................................ no
        png .................................. yes
        JPEG ................................. no
        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
      PipeWire over GIO ...................... no
      Geolocation ............................ yes
      WebChannel support ..................... yes
      Kerberos Authentication ................ no
      Extensions ............................. yes
      Node.js ................................ no
      Support qpa-xcb ........................ no
      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
    Qt PDF:
      Support V8 ............................. no
      Support XFA ............................ no
      Support XFA-BMP ........................ no
      Support XFA-GIF ........................ no
      Support XFA-PNG ........................ no
      Support XFA-TIFF ....................... no
    Qt PDF Widgets:
      Support Qt PDF Widgets ................. yes
    
    
    1 Reply Last reply
    0
    • XxTsxXX Offline
      XxTsxXX Offline
      XxTsxX
      Banned
      wrote on last edited by
      #2
      This post is deleted!
      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