目前我们使用3.10.53 yocto
如下步骤下载代码:
source setup-environment
MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-fb -e fb
bitbake fsl-image-qt5
编译好的ROOTFS包里面没有Qt5MultimediaWidget库,
然后我们手动编译Qt5MultimediaWidget这个库进去
运行代码:报错红色字体
./player -platform eglfs
QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
This plugin does not support propagateS
Hi,
For the fsl-image-qt5 the backend to use is x11 not fb. Please try that and let me know how it goes.
Best Regards,
Alejandro