PDA

View Full Version : Qt multimedia deployment on other machines?



adutzu89
14th October 2014, 20:09
I wanted to try something using Qt5 multimedia(a mp3 file playback), the test app compiled worked on developing machines, the realease build was archived, un-archived on target machine(which had gstreamer installed) but it didn't played anything, copied the content from Qt/5.3/gcc_64/plugins/mediaservice to the directory which contained the exacutable file, still nothing.
Ultimately installed Qt Creator(with Qt5.3) on targeted machine, after which still nothing was played.

Both developing machines are using Ubuntu 14.04.1 LTS and Qt 5.3 installed, shouldn't it work?

Any tips?

Nomad_Tech
7th November 2014, 09:51
Do other mp3 playback applications written with Qt5 work on the target machines?

Infinity
9th November 2014, 22:57
From the documentation: "The Qt Multimedia APIs build upon the multimedia framework of the underlying platform. This can mean that support for various codecs or containers can vary between machines, depending on what the end user has installed."
(http://qt-project.org/doc/qt-5/multimediaoverview.html)

I'm not sure but I think Qt Multimedia uses GStreamer on Ubuntu (http://qt-project.org/wiki/Qt_Multimedia_Backends). In this case it might help to install the "gstreamer0.10-fluendo-mp3" package.