On Tue, 28 Jul 2009 13:39:04 -0700 (PDT), Daniel <[email protected]> wrote: > I'm new to pyinstaller, so I hope I haven't missed some already > available information on these issues. > > I'm using Python 2.6 and a trunk checkout of pyinstaller, and am > trying to build a Windows executable for a PyQt application which uses > Phonon for video and audio playback. However, I get this error > message (when running in console mode): > > WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) > phonon backend plugin could not be loaded. > > I understand that Qt plugins are supposed to auto-load with trunk > since February or so. Is this still the case, or would this have > something to do with 2.6 issues? I would be grateful if anyone could > point me in the right direction on how to get this bundled in. > > (In addition, I have similar issues with image support, but I suspect > it is related so I won't describe the problem yet) > > Thank you!
There is no import hook for phonon. My understanding is that the phonon backends use the Qt's plugin system. The import hook takes care of mentioning the intra-Qt dependencies and the plugins. Have a look at hooks/hook-PyQt4.QtGui.py for instance, and see if you can make one for phonon. It's easy to debug: do your build in one-dir mode and look within the "qt4_plugins" generated directory to see if the backends are there. -- Giovanni Bajo Develer S.r.l. http://www.develer.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
