我一直在为intel QM87为x86_64构建yocto,我有一个Qt5应用程序,我想用-platform eglfs运行,但它有错误。我试图让我的图像尽可能小,所以我不想安装所有的x11或Wayland。有没有办法安装我需要的驱动程序。每次我运行应用程序时都会出错,说它无法找到
/usr/lib/dri/i965_dri.so /usr/lib/dri/kms_swrast.so /usr/lib/dri/swrast_dri.so /usr/lib/gbm/gbm_gallium_drm.so
在我的mesa.inc文件中,我添加了包
PACKAGECONFIG ?? =" egl gles dri gallium gallium-egl gallium-gdm \
我的conf / local.conf包含
EXTRA_IMAGE_FEATURES =" debug-tweaks ssh-server-openssh" > CORE_IMAGE_EXTRA_INSTALL + =" libgles2-mesa"
PREFERRED_PROVIDER_jpeg =" libjpeg-turbo"
PREFERRED_PROVIDER_jpeg-native =" libjpeg-turbo-native"IMAGE_INSTALL_append =" gcc g ++ binutils libgcc libgcc-dev libstdc ++ libstdc ++ - dev libstdc ++ - staticdev \
autoconf automake ccache chkconfig glib-networking glibmm \
packagegroup-core-buildessential pkgconfig \
提升cmake zlib glib-2.0 \
红宝石 cpufrequtils \
纳米\ n gdb \
gstreamer \\ gst-meta-video \
gst-plugins-base-app \
gst-plugins-base \
gst-plugins-good \
gst-plugins-good-rtsp \\ gst-plugins-good-udp \
gst-plugins-good-rtpmanager \
gst-plugins-good-rtp \
gst-plugins-good-video4linux2 \
openssh-sftp-server \
qtbase-fonts \
qtbase-plugins \
qtbase-tools \
qtdeclarative \
qtdeclarative-plugins \
qtdeclarative-tools \
qtdeclarative-qmlplugins \
qtmultimedia \
qtmultimedia-plugins \
qtmultimedia-qmlplugins \
qtsvg \
qtsvg-plugins \
qtsensors \\ qtimageformats-plugins \
qtsystems \\ qtsystems-tools \
qtsystems-qmlplugins \
qtscript \
qt3d \
qt3d-qmlplugins \
qt3d-tools \
qtwebkit \
qtwebkit-qmlplugins \
qtgraphicaleffects-qmlplugins \
qtconnectivity-qmlplugins \
qtlocation-plugins \
qtlocation-qmlplugins \
电影经验\ cairo pango fontconfig freetype pulseaudio dbus \
alsa-lib alsa-tools alsa-state alsa-utils-alsaconf \
i2c-tools \
libjpeg-turbo \
台面\
libva-intel-driver \
"DISTRO_FEATURES_remove =" x11 jpeg"
DISTRO_FEATURES + =" wayland x11-base opengl pam"BB_NUMBER_THREADS =" 16"
PARALLEL_MAKE =" -j 16"QT_PROVIDER =" qt5"
PACKAGECONFIG_GL_pn-qtbase =" gles2 linuxfb"
PACKAGECONFIG_DISTRO_pn-qtbase =" icu"PACKAGECONFIG [qtbase] =" -nomake tests -opengl desktop"
DISTRO_FEATURES + =" \
ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \
libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \
libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-locales libc-locale-code \
libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \
libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \
libc-posix-wchar-io \
libgl1-mesa-dri \
"