For standalone there is no need to link libmedia_plugin_webkit.so against Qt's plugins, and thus also not to add "random" paths to LD_LIBRARY_PATH. Just let Qt do it's thing and find and load the plugins it needs itself.