Results 1 to 2 of 2

Thread: play audio file

  1. #1
    Join Date
    Apr 2011
    Posts
    36
    Thanks
    3
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default play audio file

    hi,

    i want to play a wav file .
    QMediaPluginLoader: Failed to load plugin: "C:/QtSDK/Simulator/Qt/mingw/plugins/mediaservice/qsimulatorengined.dll" "The plugin 'C:/QtSDK/Simulator/Qt/mingw/plugins/mediaservice/qsimulatorengined.dll' uses incompatible Qt library. Expected build key "Windows mingw release full-config", got "Windows mingw debug full-config""
    QMediaPluginLoader: Failed to load plugin: "C:/QtSDK/Simulator/Qt/mingw/plugins/mediaservice/qtmedia_audioengined.dll" "The plugin 'C:/QtSDK/Simulator/Qt/mingw/plugins/mediaservice/qtmedia_audioengined.dll' uses incompatible Qt library. Expected build key "Windows mingw release full-config", got "Windows mingw debug full-config""
    defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.mediaplayer"
    any one please help me in solving this problem.

    thanks in advance.

    hema.

  2. #2
    Join Date
    Jan 2011
    Location
    Pearl of the Orient Seas
    Posts
    40
    Thanks
    12
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: play audio file

    have you included the Qt Multimedia kit?

    Qt Code:
    1. import QtMultimediaKit 1.1
    To copy to clipboard, switch view to plain text mode 


    and in your pro file, i think you should include the following lines:

    Qt Code:
    1. CONFIG += MOBILITY
    2. MOBILITY += multimedia
    To copy to clipboard, switch view to plain text mode 


    Also, you can only test playing your wav on an actual symbian device. If you run your program on desktop, an error will say that the Qt Multimedia Kit is not installed ( or something similar ). If you run on simulator, the error will say that the multimedia service is not available ( or something like that ).

Similar Threads

  1. Unable to play audio outside Qt creator
    By somnathbanik in forum Newbie
    Replies: 0
    Last Post: 9th November 2010, 06:47
  2. Phonon won't play audio file
    By kar in forum Qt Programming
    Replies: 5
    Last Post: 29th October 2010, 01:41
  3. play audio url
    By tungvc in forum Qt Programming
    Replies: 0
    Last Post: 15th July 2010, 11:04
  4. Which dll is needed to play the audio files
    By addu in forum Qt Programming
    Replies: 1
    Last Post: 26th June 2009, 23:20
  5. Replies: 0
    Last Post: 5th August 2008, 10:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.