Running a Qt application with Phonon on a non-development computer
Hi,
I have an application that play video files using phonon::VideoWidget. When I run the application on my development pc it runs fine but when I install it on a non-development pc it starts but the phonon widget displays nothing. Ive included Qt dlls (including phonond4.dll) on the non-development pc.
Any Ideas whats missing? If I install Qt SDK on the non-development PC everything works well and the phonon widget displays video.
Re: Running a Qt application with Phonon on a non-development computer
try to include in your installer the next folders with all dll-files in them
Code:
%QTDIR%\plugins\codecs\
%QTDIR%\plugins\phonon_backend\
this folders must be near your application.
e.g.
Code:
C:\Program Files\MyAppFolder\codecs\
C:\Program Files\MyAppFolder\phonon_backend\
Re: Running a Qt application with Phonon on a non-development computer
Re: Running a Qt application with Phonon on a non-development computer
This really should be in the Qt documentation.
Thanks for the help. Worked for me too. Any method other than trial and error to work out which DLL's are actually needed and which ones aren't?