Qt6 private headers not found
Unsolved
Mobile and Embedded
-
We're using Yocto and attempting to backport GStreamer 1.24.0 (scarthgap), but the build fails during the
gst-plugins-good
recipe.The error is shown below, this is true for all
private
headers (e.g.QtCore/private
,QtGui/private
, etc.)../git/ext/qt6/gstqsg6material.cc:32:10: fatal error: 'QtGui/private/qrhi_p.h' file not found | #include <QtGui/private/qrhi_p.h> | ^~~~~~~~~~~~~~~~~~~~~~~~ | 1 error generated.
The compile statement of interest is the below,
-I/.../gstreamer1.0-plugins-good/1.24.0.imx-r0/recipe-sysroot/usr/include/QtGui
But the private header files are actually at,
.../gstreamer1.0-plugins-good/1.24.0.imx-r0/recipe-sysroot/usr/include/QtGui/6.5.1/QtGui/private/qrhi_p.h
Setup
- Qt Version: 6.5.1
- Yocto Layer: meta-qt6
- Yocto Version: kirkstone
I was noticing from meta-qt6/conf/layer.conf that
LAYERSERIES_COMPAT_qt6-layer
only includedscarthgap
in Qt6.6.3 and higher, perhaps that is our issue still only being on 6.5.1?Any advice would be much appreciated, thanks!