[PyQt] phonon play method not working in exe file

Giovanni Bajo rasky at develer.com
Wed Aug 26 16:45:04 BST 2009


On 8/26/2009 9:19 AM, laurlaur wrote:
> Hi,
> I have this problem:
> I use Pqt4 phonon module in Python 2.6 as mp3 player and everything works
> fine as a script.
> Now when I make my application executable for windows using py2exe the GUI
> interface is ok but the mp3 files are not played.
> I print a log and it seems the media object stays only in load state and not
> enters in playing state.
> What can be the problem?
> As I see now everything seems to be introduced in exec files as dlls and pyd
> but the application does not play my files.
> Any Ideas?
> Thank you in advance

py2exe does not correctly support PyQt plugins.

Try again with PyInstaller SVN trunk and it might work for you, even if 
Python 2.6 is not officially supported yet.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com


More information about the PyQt mailing list