Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Native compile QtWebEngine Raspberry Pi 4

Native compile QtWebEngine Raspberry Pi 4

Scheduled Pinned Locked Moved Unsolved QtWebEngine
qtwebengineraspberry pi 4
2 Posts 2 Posters 1.4k 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.
  • W Offline
    W Offline
    Walter-X
    wrote on 27 Jul 2020, 06:49 last edited by
    #1

    I want to compile "qt-everywhere-src-5.15.0" and especially QtWebEngine native on a Raspberry Pi 4. I make a build directory and go in it, to use the following command:

    sudo ../qt-everywhere-src-5.15.0/configure -v -opengl es2 -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=/usr/bin/ -opensource -confirm-license -optimized-qmake -reduce-exports -release -qt-pcre -make libs -prefix /usr/local/qt5pi -sysroot / -pkg-config -skip qtscript -skip qtandroidextras -skip qtmacextras -skip qtpurchasing -skip qtwinextras -skip qtcanvas3d  -developer-build
    

    The config.summary was ok:

    Qt WebEngine Build Tools:
      Use System Ninja ....................... yes
      Use System Gn .......................... no
      Jumbo Build Merge Limit ................ 8
      Developer build ........................ yes
      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 ................................. no
        ffmpeg ............................... no
        libvpx ............................... no
        snappy ............................... yes
        glib ................................. yes
        zlib ................................. yes
        minizip .............................. yes
        libevent ............................. yes
        jsoncpp .............................. yes
        protobuf ............................. no
        libxml2 and libxslt .................. yes
        lcms2 ................................ yes
        png .................................. yes
        JPEG ................................. yes
        harfbuzz ............................. yes
        freetype ............................. yes
        xkbcommon ............................ yes
    

    After the command make - and serveral hours of waiting - I get the errors:

    make[4]: *** No rule to make target '/home/pi/build/qtwebengine/src/core/release/QtWebEngineCore.stamp', needed by '../../libQt5WebEngineCore.so.5.15.0' Stop.
    make[4]: Leaving directory '/home/pi/build/qtwebengine/src/core'
    make[3]: *** [Makefile:132: sub-core_module-pro-install_subtargets] Error 2
    make[3]: Leaving directory '/home/pi/build/qtwebengine/src/core'
    make[2]: *** [Makefile:91: sub-core-install_subtargets] Error 2
    make[2]: Leaving directory '/home/pi/build/qtwebengine/src'
    make[1]: *** [Makefile:61: sub-src-install_subtargets] Error 2
    make[2]: Leaving directory '/home/pi/build/qtwebengine'
    make: *** [Makefile:964: module-qtwebengine-install_subtargets] Error 2
    

    Can anyone help me solving the problem?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      polto molto
      wrote on 3 Aug 2020, 01:31 last edited by
      #2

      hi
      wish this help
      https://forum.qt.io/topic/117637/easy-way-to-cross-compile-qt-for-raspberry-pi

      1 Reply Last reply
      0

      2/2

      3 Aug 2020, 01:31

      • Login

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