QmediaPlayer with Yocto
Unsolved
Installation and Deployment
-
I am trying to deploy some code that uses
QmediaPlayer
library on raspberry pi 3.
I am usingeglfs
and made sure from the manifest file of the image that it includes theses packagesqtbase cortexa53 5.15.7+git0+358aebba72 qtbase-plugins cortexa53 5.15.7+git0+358aebba72 qtbase-qmlplugins cortexa53 5.15.7+git0+358aebba72 qtdeclarative cortexa53 5.15.7+git0+0d60f81bf6 qtdeclarative-plugins cortexa53 5.15.7+git0+0d60f81bf6 qtdeclarative-qmlplugins cortexa53 5.15.7+git0+0d60f81bf6 qtmultimedia cortexa53 5.15.7+git0+eeb34aae03 qtmultimedia-plugins cortexa53 5.15.7+git0+eeb34aae03 qtmultimedia-qmlplugins cortexa53 5.15.7+git0+eeb34aae03
i have also removed
x11
,wayland
andvulkan
from the distro features
and still get this error when compiling qt cpp code for the target| In file included from moc_mainwindow.cpp:10: | ../mainwindow.h:5:10: fatal error: QMediaPlayer: No such file or directory | 5 | #include <QMediaPlayer> | | ^~~~~~~~~~~~~~ | compilation terminated. | In file included from ../mainwindow.cpp:1: | ../mainwindow.h:5:10: fatal error: QMediaPlayer: No such file or directory | 5 | #include <QMediaPlayer> | | ^~~~~~~~~~~~~~ | compilation terminated. | In file included from ../main.cpp:1: | ../mainwindow.h:5:10: fatal error: QMediaPlayer: No such file or directory | 5 | #include <QMediaPlayer> | | ^~~~~~~~~~~~~~ | compilation terminated.
can anyone help me with this issue ?