Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QmediaPlayer with Yocto

QmediaPlayer with Yocto

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 230 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LogEx
    wrote on last edited by
    #1

    I am trying to deploy some code that uses QmediaPlayer library on raspberry pi 3.
    I am using eglfs and made sure from the manifest file of the image that it includes theses packages

    qtbase 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 and vulkan 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 ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved