Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. i.MX6 Build Failure with Buildroot 2022.02 and fb-backend
Forum Updated to NodeBB v4.3 + New Features

i.MX6 Build Failure with Buildroot 2022.02 and fb-backend

Scheduled Pinned Locked Moved Unsolved Qt WebKit
i.mx6buildrootframebuffer
1 Posts 1 Posters 730 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.
  • T Offline
    T Offline
    tjsmith
    wrote on last edited by
    #1

    I have a working buildroot build for a i.MX6-based board using buildroot 2015.11. It uses QT5 with a fb-backend, supported by Freescale i.MX6 GPU drivers. I use the qt5-webkit package for the main user interface. I'm trying to upgrade to buildroot 2022.02, but when I do so, the build of qt5-webkit fails with errors related to X11, even though I don't use X11 anywhere.

    I have tried this two separate ways: (1) upgrading my buildroot config from 2015.11 to 2022.02 and (2) starting with a known good buildroot 2021.11 configuration that uses the fb-backend and qt5 (but not qt5-webkit), then making no changes except adding qt5-webkit via menuconfig. Both options fail the same way.

    The board I'm using is based on the Boundary devices Nitrogen 6x board, so I reached out to them, and they suggested that it could be an issue with qt5-webkit not using pkgconfig properly

    Here is a gist containing my .config file and partial build log including the error: https://gist.github.com/tjsmith23/59d2ebc9268ddb550896ab2380480413. The files are from the second method I mentioned above. The known good config I started with (and built successfully) can be found here: https://github.com/boundarydevices/buildroot-external-boundary/blob/master/configs/nitrogen6x_qt5_gst1_defconfig

    For quick perusal, the error I'm hitting is as follows: In file included from .../host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/EGL/egl.h:39,  from .../build/qt5webkit-5.212.0-alpha4/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:36: .../host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/EGL/eglplatform.h:145:10: fatal error: X11/Xlib.h: No such file or directory   145 | #include <X11/Xlib.h>

    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