PDA

View Full Version : Qt4.6.2 phonon module



limeir
9th June 2010, 04:04
I have made an audio player using phonon module with Qt4.6.2 under windows,the player works will.But when i move the exe (with the necessary lib)on another computer without Qt environment,the player can run ,but cannot play music anymore.How to fix?

tbscope
9th June 2010, 05:34
Did you move all the phonon libs?
Phonon is plug-in based. If no plug-in can be found for the available systems on the other computer, you won't be able to hear anything.

limeir
9th June 2010, 06:42
I included libgcc_s_dw2-1.dll,mingwm10.dll,phonond4.dll,QtCored4.dll,QtGui d4.dll,
Would you tell me what else lib should i include?Thank you.

tbscope
9th June 2010, 06:45
You also need the dll's for the qt opengl module (required for Windows if you built Qt with opengl capabilities) and one or more phonon plugins, directsound, gstreamer, ...

limeir
9th June 2010, 07:14
After adding the plugin in the executable floder,the player can play music again,thank you for your prompt.