I have cross compiled Qt5.9.1 for an arm linux platform. I see that qtwebengine because mesa/libegl1-mesa-dev
is missing.
I am relatively new to linux and i have been trying to cross compile mesa12, mesa13 and mesa17. But all failed.
Is libegl1-mesa-dev absolutely necessary to build qtwebengine to work on linuxfb ? If so, can anyone provide me the dependency list for opengl without x11 and some guiding light to how to cross compile it ?
I came to know that QtWebengine can use software renderer such as QtQuick2drenderer in Qt 5.7. What are the possibilities that i can do the same in Qt 5.9.1 ?
Thank you for your time.
Edit : Mesa version : 12.0.6 cross compiled dependencies : udev-182 and util-linux-2.30 (for libblkid) This is the error i am getting :
CCLD libgbm.la
../../src/loader/.libs/libloader.a(libxmlconfig_la-xmlconfig.o): In function `__getProgramName':
xmlconfig.c:(.text+0x64): undefined reference to `__progname'
collect2: error: ld returned 1 exit status
configure i have used
./configure CPPFLAGS="-I$INCLUDEPATH -DMESA_EGL_NO_X11_HEADERS" CFLAGS="-I$INCLUDEPATH -DMESA_EGL_NO_X11_HEADERS" LDFLAGS="-L$LIBPATH" --host=$HOST --prefix=$PREFIX --enable-dri3=no --enable-gallium-llvm=no --disable-omx --enable-gallium-tests=no --enable-gallium-osmesa=no -enable-glx=dri --with-gallium-drivers=swrast --with-dri-drivers=swrast --disable-glx --enable-va=no --enable-vdpau=no --with-egl-platforms=drm