Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Talk:RaspberryPiWithWebEngine
Jump to navigation
Jump to search
Unfortunately the step "Compiling Qt" does not work for me. All previous steps ran without problems. The configuration of Qt gives me the following output at the end:
Note: Also available for Linux: linux-clang linux-icc Note: PKG_CONFIG_LIBDIR automatically set to /home/matthias/workspaces/raspberrypi-raspbian/sysroot/usr/lib/pkgconfig:/home/matthias/workspaces/raspberrypi-raspbian/sysroot/usr/share /pkgconfig:/home/matthias/workspaces/raspberrypi-raspbian/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig Note: PKG_CONFIG_SYSROOT_DIR automatically set to /home/matthias/workspaces/raspberrypi-raspbian/sysroot ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed. ERROR: Feature 'opengles2' was enabled, but the pre-condition '(config.win32 && !features.opengl-dynamic) || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed. ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android && !config.darwin && !config.win32 && !config.wasm && features.egl' failed. ERROR: The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
What can be the problem here?
Most likely dependencies are missing on the image(sysroot), this step is missing in instructions see https://wiki.qt.io/RaspberryPi2EGLFS , I will update the page, thanks for noticing it.
sudo apt-get update sudo apt-get build-dep qt4-x11 sudo apt-get build-dep libqt5gui5 sudo apt-get install libudev-dev libinput-dev libts-dev libxcb-xinerama0-dev libxcb-xinerama0