Compiling Qt6 Missing EGL/eglext_brcm.h
Hello all,
**tldr**
Where can I get EGL/eglext_brcm.h?
**Background**
My ultimate aim is to create a cross compile environment for qt aimed at r pi 4. So Qt 6.4.2 and wayland. To do this I need to compile qt 6.4.2 with wayland plugin with driver for brcm for both host (x86) and target (r pi 4). (forgive me if I am teaching my grandmother to suck eggs here.)
**Set-up**
Initialise repository
Configure
then build, upon which I get the following error
I can't find this file anywhere on my pi or internet, nor can I seem to be able to locate a package that contains it. Does anyone have any idea where it is?
**tldr**
Where can I get EGL/eglext_brcm.h?
**Background**
My ultimate aim is to create a cross compile environment for qt aimed at r pi 4. So Qt 6.4.2 and wayland. To do this I need to compile qt 6.4.2 with wayland plugin with driver for brcm for both host (x86) and target (r pi 4). (forgive me if I am teaching my grandmother to suck eggs here.)
**Set-up**
Code: Select all
git clone [email protected]:qt/qt5.gitCode: Select all
./init-repository -f --module-subset=qtbase,qtwayland,qtdeclarative,qtimageformats,qtlanguageserver,qtshadertools,qtsvg
git checkout 6.4.2Code: Select all
cmake ../qt5/ -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$QTBUILDROOT/qt-host/ -DBUILD_qtwayland=ON -DQT_FEATURE_eglfs_brcm=ON
Code: Select all
from /home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/EWIEGA46WW/moc_qwaylandbrcmeglwindow.cpp:9,
from /home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/mocs_compilation.cpp:2:
/home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/EWIEGA46WW/../../../../../../../../../qt5/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.h:14:10: fatal error: EGL/eglext_brcm.h: No such file or directory
14 | #include <EGL/eglext_brcm.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
[5985/6455] Building CXX object qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/cmake_pch.hxx.gch
ninja: build stopped: subcommand failed.Rpi 4 EGL/eglext_brcm.h
Hi all,
I am compiling qt6 with wayland support and missing this file. Does anyone know where I could find this file EGL/eglext_brcm.h? I have tried several EGL dev packages. Web searched etc but to no avail. Any pointer gratefully received!
I am compiling qt6 with wayland support and missing this file. Does anyone know where I could find this file EGL/eglext_brcm.h? I have tried several EGL dev packages. Web searched etc but to no avail. Any pointer gratefully received!
Re: Rpi 4 EGL/eglext_brcm.h
eglext_brcm.h sounds a lot like it was part of the old proprietary broadcom GL driver. That has since been superseded by Mesa. Not sure how the QT6 compile process works but I'm surprised it ends up looking for that file. Is there an option to force it to use Mesa instead?
info-beamer hosted - A user and programmer friendly digital signage platform for the Pi: https://info-beamer.com/hosted
Re: Compiling Qt6 Missing EGL/eglext_brcm.h
hi dividuum, Thanks I will take a look. I am not up together with things like Mesa so even you saying look for that config option is help. The Qt config documentation is minimal!
Return to "Graphics programming"
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Media centres
- Gaming
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion