- #HOW TO ADD CODEC TO VLC OSX MEDIA PLAYER DRIVERS#
- #HOW TO ADD CODEC TO VLC OSX MEDIA PLAYER WINDOWS#
I usually put these DLL's in the same folder as the Application EXE that I build in Qt creator and then keep the "Working Directory" or the directory that the EXE is ran from to be the same directory as well.įor the additional plugins/libraries that are for specific media types, like image formats and for phonon, you need to have a specific structure that your application can find it in.
#HOW TO ADD CODEC TO VLC OSX MEDIA PLAYER WINDOWS#
Here is the directory structure for windows and a short explanation of how dlls are found.ĭynamic-Link Library Search Order in Windowsįor Mingw on Windows in the Qt SDK there is a folder for its binaries, and in that folder there are the dlls that your application needs to be able to find at runtime (If you are doing Dynamic Linking). My answer is in the context of a Windows Desktop Application with Dynamic Linking to the Qt Libraries, not static. But figuring it out the first time was a little painful, just because the jargon is a little weird.
The deployment of a Qt Application is very straight forward, even with plugins and libraries like Phonon. I haven't done a ton of testing with Phonon on every major OS, but I have on a few different versions of Windows.
Plugins/Libraries and QtĪs far as getting Phonon to work with Qt, I have experience there. I would suggest looking at Audacity and VLC and checking Google.
#HOW TO ADD CODEC TO VLC OSX MEDIA PLAYER DRIVERS#
I know Phonon is a pretty big project and each OS has a different set of drivers for playing media and using Codec, etc. As far as getting the right libraries for playing sound, it should just be a matter of finding out what libraries are used by Phonon on your system.