Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to cross-compile QWebEngine without OpenGL support?
Forum Update on Monday, May 27th 2025

How to cross-compile QWebEngine without OpenGL support?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 341 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.
  • R Offline
    R Offline
    Richard Ni
    wrote on last edited by Richard Ni
    #1

    I have an ARM board with Linux Environment, but it does not have GPU. My question is,

    1. how to cross-compile QWebEngine for it?
    2. Will QWebEngine run on this board?

    2020/5/14 update
    I use this configure parameters,

    ./configure -release -opensource -xplatform linux-arm-himix200-g++ -shared -nomake examples -nomake tests -no-icu -no-openssl -no-iconv -no-dbus -silent -qpa linuxfb -linuxfb -qt-freetype -skip qtgamepad -skip qt3d -skip qtx11extras -skip qtmacextras -skip qtwinextras -skip qtdatavis3d -skip qtremoteobjects -skip qtpurchasing -skip qtremoteobjects -skip qtcharts -skip qtserialport -skip qtwebsockets -skip qttools -no-opengl 
    

    and found qwebengine requires pkg-config, but pkg-config is already installed in my virtual machine, then I searched for this problem, and found some answers says I should use sysroot, but my embed system's rootfs doesn't have pkg-config in it, why qwebengine requires pkg-config? Is there any work around for this?

    raven-worxR 1 Reply Last reply
    0
    • R Richard Ni

      I have an ARM board with Linux Environment, but it does not have GPU. My question is,

      1. how to cross-compile QWebEngine for it?
      2. Will QWebEngine run on this board?

      2020/5/14 update
      I use this configure parameters,

      ./configure -release -opensource -xplatform linux-arm-himix200-g++ -shared -nomake examples -nomake tests -no-icu -no-openssl -no-iconv -no-dbus -silent -qpa linuxfb -linuxfb -qt-freetype -skip qtgamepad -skip qt3d -skip qtx11extras -skip qtmacextras -skip qtwinextras -skip qtdatavis3d -skip qtremoteobjects -skip qtpurchasing -skip qtremoteobjects -skip qtcharts -skip qtserialport -skip qtwebsockets -skip qttools -no-opengl 
      

      and found qwebengine requires pkg-config, but pkg-config is already installed in my virtual machine, then I searched for this problem, and found some answers says I should use sysroot, but my embed system's rootfs doesn't have pkg-config in it, why qwebengine requires pkg-config? Is there any work around for this?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Richard-Ni

      1. how to cross-compile QWebEngine for it?

      see this as an starting point: https://doc.qt.io/qt-5/configure-linux-device.html
      you need a proper toolchain on your system and set the -device-option CROSS_COMPILE=... and or -xplatform configure options

      1. Will QWebEngine run on this board?

      impossible to answer with the provided information. But generically speaking: yes

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      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