Problems with Open-Source Downloads read and

Problem while deploying video on Android by QGraphicsVideoItem and QMediaPlayer (QT 5.2.1)

  • Hi everybody, I really need help here! :(

    I am working on QT by deploying a small project to Android 4.0.3 (API 15). I use this code below to run the project. my project is running a video on Android and I use QGraphicsVideoItem and QMediaPlayer. I built it successfully and run by Desktop 5.2.1 MinGW 32bit, everything is fine! but when I deploy it to the emulator. the audio is fine but the video doesn't show on! I don't know what the problem is.
    I hope you can give me some advices. Thanks in advance.

    QMediaPlayer *player = new QMediaPlayer;

    QGraphicsVideoItem *item = new QGraphicsVideoItem;
    QGraphicsScene *scene = new QGraphicsScene;
    QGraphicsView *graphicsView = new QGraphicsView(scene);

Log in to reply