提问人:Martin Dusek 提问时间:11/9/2023 更新时间:11/9/2023 访问量:26
Yocto core-image-x11无法运行Qt6 QML应用程序
Yocto core-image-x11 can't run Qt6 QML app
问:
这是我的Yocto配置:
Build Configuration:
BB_VERSION = "2.2.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi3"
DISTRO = "poky"
DISTRO_VERSION = "4.1.4"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "langdale:3e95f268ce04b49ba6731fd4bbc53b1693c21963"
meta-raspberrypi = "langdale:8e3cbfa598de106a78d9a9e27aa25ded51416896"
meta-oe
meta-multimedia
meta-networking
meta-python = "langdale:cbbaa82238cd60f08c9b9cb58dde59d5f9318c7b"
meta-qt6 = "6.5:a65fb409f4469c087ae3e23ee80fbb2531f1856e"
meta-app = "<unknown>:<unknown>"
我为 Raspberry Pi 3 使用 core-image-x11 进行 bitbake,但是当我在目标上启动我的 Qt6 QML 应用程序时,出现以下错误:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin
在我的目标上,我找不到任何名为“cursor0”的文件,我只能找到文件:
/usr/lib/libxcb-cursor.so.0
/usr/lib/libXcursor.so.1.0.2
/usr/lib/libXcursor.so.1
/usr/lib/libxcb-cursor.so.0.0.0
我该怎么做才能在Raspberry Pi 3上启动我的Qt6 QML应用程序?
答: 暂无答案
评论