Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28881

Qt 5.0 and QMediaPlayer failure on Windows XP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.0.0
    • Multimedia
    • None
    • Windows XP 32 bits
      Qt 5.0 Relase (December)
      MSVC 10

    Description

      I got the following error when I deploy a QMediaPlayer simple code.

      defaultServiceProvider::requestService(): no service found for – “org.qt-project.qt.mediaplayer”

      //Begin Code
      QMediaPlayer* player = new QMediaPlayer;
      QString path = application_.applicationDirPath();
      QUrl url = QUrl::fromLocalFile(path + QLatin1String("/my.wav"));

      QMediaPlaylist * playlist = new QMediaPlaylist;
      playlist->addMedia(url);
      playlist->setPlaybackMode( QMediaPlaylist::Loop );
      player->setPlaylist( playlist );
      playlist->setCurrentIndex(0);
      player->setVolume(50);
      player->play();
      //End Code

      Deployment file structure

      mediaservice/*
      platforms/qminimal.dll
      platforms/qwindows.dll
      application.exe
      my.way
      Qt5Core.dll
      Qt5Gui.dll
      Qt5Widgets.dll
      libGLESv2.dll #I don't know why is needed
      icuuc49.dll #I don't know why is needed
      icuin49.dll #I don't know why is needed
      icudt49.dll #I don't know why is needed
      D3DCompiler_43.dll #I don't know why is needed
      libEGL.dll #I don't know why is needed
      msvcr100.dll
      msvcp100.dll

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            laknoll Lars Knoll
            fpelliccioni Fernando Pelliccioni
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes