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

Qt-5.0.1 - QMediaPlayer - no service found for - "org.qt-project.qt.mediaplayer"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.0.1
    • Multimedia
    • None
    • OS: Windows 7 64bits
      Qt Version: qt-windows-opensource-5.0.1-mingw47_32-x86-offline

    Description

      It is impossible to run this simple code snippet in Windows.

      //Start code-----------------------------------------
      void MainWindow::playNow()
      {
      QMediaPlayer* player = new QMediaPlayer;
      player->setMedia(QUrl::fromLocalFile("file.wav"));
      player->setVolume(50);
      player->play();
      }
      //End code -----------------------------------------

      OS: Windows 7 64bits
      Qt Version: qt-windows-opensource-5.0.1-mingw47_32-x86-offline

      Runtime error/warning:
      defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

      Deployment file structure:

      mediaservice/dsengine.dll
      mediaservice/qtmedia_audioengine.dll
      platforms/qminimal.dll
      platforms/qwindows.dll
      icudt49.dll
      icuin49.dll
      icuuc49.dll
      libEGL.dll
      libGLESv2.dll
      Qt5Core.dll
      Qt5Gui.dll
      Qt5Multimedia.dll
      Qt5Network.dll
      Qt5Widgets.dll

      It works fine if I run it in Debug mode.

      Am I missing something?

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            fpelliccioni Fernando Pelliccioni
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes