Talk:RaspberryPiWithQt5WebEngine: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
m (Michal Klocek moved page Talk:RaspberryPiWithWebEngine to Talk:RaspberryPiWithQt5WebEngine: this is qt5 quide)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
What can be the problem here?
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
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 update
sudo apt-get build-dep qt4-x11
sudo apt-get build-dep qt4-x11
sudo apt-get build-dep libqt5gui5
sudo apt-get build-dep libqt5gui5
sudo apt-get install libudev-dev libinput-dev libts-dev libxcb-xinerama0-dev libxcb-xinerama0
sudo apt-get install libudev-dev libinput-dev libts-dev libxcb-xinerama0-dev libxcb-xinerama0

Latest revision as of 09:03, 4 January 2024

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