×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    73

    Mediaplayer with Qt

    Hi
    I am searching for a possibility to play music files and streams with Qt. I tried this http://wiki.forum.nokia.com/index.ph...ng_Qt_Mobility example from the wiki, but did not manage to make it work (well, i am very new to programming for symbian). Does someone know a more precise example code with either QtMultimedia or Phonon API to make it work? Would be very very nice.

    Cheers, Luki

  2. #2
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Mediaplayer with Qt

    Quote Originally Posted by lukiluuk View Post
    Hi
    I am searching for a possibility to play music files and streams with Qt. I tried this http://wiki.forum.nokia.com/index.ph...ng_Qt_Mobility example from the wiki, but did not manage to make it work (well, i am very new to programming for symbian). Does someone know a more precise example code with either QtMultimedia or Phonon API to make it work? Would be very very nice.

    Cheers, Luki
    You could take a look at http://qt.gitorious.org/qt/qt/trees/...les/multimedia or http://doc.qt.nokia.com/4.6/examples-multimedia.html

  3. #3
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Mediaplayer with Qt

    Quote Originally Posted by lukiluuk View Post
    Hi
    I am searching for a possibility to play music files and streams with Qt. I tried this http://wiki.forum.nokia.com/index.ph...ng_Qt_Mobility example from the wiki, but did not manage to make it work (well, i am very new to programming for symbian). Does someone know a more precise example code with either QtMultimedia or Phonon API to make it work? Would be very very nice.

    Cheers, Luki
    As you are new to the programming in Qt for S60, Before you use the Qt mobility API, you have to setting up the environment for that how to set the environment is given in the article that you have given link. http://wiki.forum.nokia.com/index.ph...ng_Qt_Mobility
    This code is tested and works fine.

    Cheers,

  4. #4
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    73

    Re: Mediaplayer with Qt

    Thanks for the replies!
    @rahulvala: Isn't the Qt Mobility API automatically installed and set up if I have installed the Nokia Qt SDK?

    Cheers, Luki

  5. #5
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Mediaplayer with Qt

    Quote Originally Posted by lukiluuk View Post
    Thanks for the replies!
    @rahulvala: Isn't the Qt Mobility API automatically installed and set up if I have installed the Nokia Qt SDK?

    Cheers, Luki
    Qt Mobility comes with Nokia Qt SDK. After you have installed Nokia Qt SDK, if you have a Symbian device, you can install Qt and Qt Mobility libraries to your device from:

    Windows start menu -> Nokia Qt SDK beta -> Symbian -> "Install Qt libraries/QtMobility to Symbian Device"
    Best regards,

  6. #6
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    73

    Re: Mediaplayer with Qt

    Just to make clear that I don't understand something wrong. When I have installed the Nokia Qt SDK, the Qt Mobility API should work on the emulator directly. Only if I'd like to run it on the device I have to install the Qt and Qt Mobility API's on the device. Am I right? Thanks for confirmation.:-)

  7. #7
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Mediaplayer with Qt

    Quote Originally Posted by lukiluuk View Post
    Just to make clear that I don't understand something wrong. When I have installed the Nokia Qt SDK, the Qt Mobility API should work on the emulator directly. Only if I'd like to run it on the device I have to install the Qt and Qt Mobility API's on the device. Am I right? Thanks for confirmation.:-)
    Yes, that's true. However, in future Qt will be pre-installed on the devices.

  8. #8
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    73

    Re: Mediaplayer with Qt

    Hmm...it seems that my QtCreator from this example http://wiki.forum.nokia.com/index.ph...ng_Qt_Mobility cannot find the <qmediaplayer.h> and the <qmediaplaylist.h> header files. As I am new to Qt, I have no idea how to solve this. Did I make something wrong in the installatin of the Nokia Qt SDK? Would be very nice if you can share your ideas if you have any. Thanks in advance.

    Cheers, Luki

    update:
    With the new Qt Mobility API (I think 1.0.1) it works and all files are recognized. Now it compiles without errors.
    Last edited by lukiluuk; 2010-06-23 at 14:27.

  9. #9
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Mediaplayer with Qt

    As I know that NOKIA Qt SDK contains all API which are in the Qt mobility, No need to install it(Qt mobility).
    Cheers,
    RaHuL

Similar Threads

  1. Replies: 3
    Last Post: 2010-06-30, 01:17
  2. Replies: 0
    Last Post: 2010-04-13, 11:22
  3. j2me mediaplayer does not play video with sound
    By HugoFerreira in forum Mobile Java General
    Replies: 3
    Last Post: 2009-09-25, 12:49
  4. nokia6288:mediaplayer restart while calling coming
    By oodoo7 in forum General Development Questions
    Replies: 0
    Last Post: 2007-01-29, 15:36
  5. Mediaplayer 6280 full screen
    By wvexelnokia in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-04-28, 04:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×