Results 1 to 7 of 7

Thread: Media Player for Windows.

  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Media Player for Windows.

    Hi all

    I am using Qt4.3 on Windows Xp, I want to ask is there any API with trolltech to make media player using QT4 for windows.

    Or how can I make media player for windows.

    Regards
    merry
    Always Believe in Urself
    Merry

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Media Player for Windows.

    With the commercial edition you can use the ActiveQt module to embed an activeX component in your application (including the media player). Since Qt 4.4 you'll be able to use the Phonon module to have a more direct approach to playing multimedia in your app.

  3. #3
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Media Player for Windows.

    The other alternative is to build on something like vlc, ffmeg, or the directshow sdk, which have an API (albeit much more low level) for these tasks. Phonon will give you basic playback, but if you want more then you will need to dig deeper and it will be a lot more work.

  4. #4
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Media Player for Windows.

    Thanks 4 all the replies

    I tried to use Active Qt.

    I got some linking error

    "QAxContainerd. lib(qaxobject .obj) : fatal error LNK1202: "C:\mediaplayer\debug\vc6.0.pdb" is missing debugging information for referencing module "

    Regards
    Merry
    Always Believe in Urself
    Merry

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Media Player for Windows.

    Try compiling in release mode - you might not have all the libraries needed in debug mode.

  6. #6
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Media Player for Windows.

    I am new to windows, I dont know how to compile it in release mode.
    Always Believe in Urself
    Merry

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Media Player for Windows.

    Add this to your project file, rerun qmake and recompile the project:

    CONFIG -= debug
    CONFIG +=release

Similar Threads

  1. media player controls for suse10/qt designer
    By RajeshPR in forum Qt Programming
    Replies: 1
    Last Post: 20th March 2006, 08:56

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.