PDA

View Full Version : Media Player for Windows.



merry
4th March 2008, 12:05
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

wysota
4th March 2008, 13:10
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.

pherthyl
4th March 2008, 16:44
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.

merry
5th March 2008, 05:55
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

wysota
5th March 2008, 06:12
Try compiling in release mode - you might not have all the libraries needed in debug mode.

merry
5th March 2008, 06:19
I am new to windows, I dont know how to compile it in release mode.

wysota
5th March 2008, 06:49
Add this to your project file, rerun qmake and recompile the project:

CONFIG -= debug
CONFIG +=release