Brit
11th January 2012, 19:29
I use Phonon in my QT application, and everything seems to work fine on my development machine. However, I can't seem to get Phonon to work on any non-development machines. (I'm using Windows, by the way.) If I attempt to play audio through phonon, nothing comes out of the speakers. If I attempt to play video, nothing appears. I've been checking all the DLLs and using dependency checker. I can't seem to find anything missing.
I'm using QT 4.7.1, Windows 7, Microsoft VisualStudio. The non-development machines I've tested range from Windows XP to Windows 7, but the main one I'm testing on is Windows 7.
I eventually copied the entire c:\Qt\4.7.1\bin directory to the non-development machine to see if I could get the Qt Phonon examples working there. (The "bin" directory contains lots of Qt and Phonon DLLs.) Then I copied C:\Qt\4.7.1\examples\phonon\capabilities\release\c apabilities.exe and C:\Qt\4.7.1\examples\phonon\qmusicplayer\release\q musicplayer into the bin directory. When I do this procedure on my development machine, the applications work fine.
On the non-development machine, when I attempt to run qmusicplayer.exe the application appears and then I try to play a .wav file, but nothing happens (doesn't appear in the audio list, doesn't play). When I run capabilities.exe, the application comes up blank (maybe that means that the backend capability isn't there). This non-development machine I'm using is Windows 7, so I don't know what would be missing. It contains DirectX 11. I downloaded and installed DirectX 9.0c. I think Windows 7 machines already contain DirectShow. I tried copying some extra DLLs into the bin directory - mscvm90.dll, msvcp90.dll, msvcr90.dll, phonon_ds94.dll. Still no luck.
Here's a screencap of what my non-development machine shows when I run capabilities.exe:
7252
Here's what it looks like when I run capabilities.exe on my development machine:
7253
Any idea what I might be missing on the non-development machines? Missing DLLs? Do I need to install something else on the non-development machines?
I'm using QT 4.7.1, Windows 7, Microsoft VisualStudio. The non-development machines I've tested range from Windows XP to Windows 7, but the main one I'm testing on is Windows 7.
I eventually copied the entire c:\Qt\4.7.1\bin directory to the non-development machine to see if I could get the Qt Phonon examples working there. (The "bin" directory contains lots of Qt and Phonon DLLs.) Then I copied C:\Qt\4.7.1\examples\phonon\capabilities\release\c apabilities.exe and C:\Qt\4.7.1\examples\phonon\qmusicplayer\release\q musicplayer into the bin directory. When I do this procedure on my development machine, the applications work fine.
On the non-development machine, when I attempt to run qmusicplayer.exe the application appears and then I try to play a .wav file, but nothing happens (doesn't appear in the audio list, doesn't play). When I run capabilities.exe, the application comes up blank (maybe that means that the backend capability isn't there). This non-development machine I'm using is Windows 7, so I don't know what would be missing. It contains DirectX 11. I downloaded and installed DirectX 9.0c. I think Windows 7 machines already contain DirectShow. I tried copying some extra DLLs into the bin directory - mscvm90.dll, msvcp90.dll, msvcr90.dll, phonon_ds94.dll. Still no luck.
Here's a screencap of what my non-development machine shows when I run capabilities.exe:
7252
Here's what it looks like when I run capabilities.exe on my development machine:
7253
Any idea what I might be missing on the non-development machines? Missing DLLs? Do I need to install something else on the non-development machines?