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

Qt 5.0 and QMediaPlayer failure on Windows XP

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      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

            Assignee:
            laknoll Lars Knoll
            Reporter:
            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