Qt6.10 compilation failing with ui/gl/buildflags.h: No such file or directory
-
Qt6.10 compilation failing with the below error on arm64.
FAILED: obj/chrome/test/chromedriver/chromedriver_server/qt_overrides.o
In file included from ../../../../../../src/qtwebengine/src/3rdparty/chromium/ui/gl/gl_surface.h:30,
from ../../../../../../src/qtwebengine/src/3rdparty/chromium/tools/v8_context_snapshot/qt_overrides.cc:13:
../../../../../../src/qtwebengine/src/3rdparty/chromium/ui/gl/gl_implementation.h:18:10: fatal error: ui/gl/buildflags.h: No such file or directory
18 | #include "ui/gl/buildflags.h"The same build was compiled for x86_64 without any issues.
-
Encountered this same issue on x86_64 with Qt6.8 (from Conan) with the following settings:
[settings] arch=x86_64 compiler=gcc compiler.libcxx=libstdc++11 os=Linux compiler.version=11 compiler.cppstd=23OpenGL dev package is already installed via:
sudo apt-get install build-essential libgl1-mesa-dev