title: How to fix gstreamer error in Qt5?
body: <p>I want to create a small mp3 player as a toy project so started with Qt for the GUI. When I try to play an mp3 file i get this error.  </p>
  
  <pre><code>Warning: "No decoder available for type 'audio/mpeg, mpegversion=(int)1, 
  mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2,
  parsed=(boolean)true'." 
  Error: "Your GStreamer installation is missing a plug-in." 
  </code></pre>
  
  <p>I installed gstreamer and it's plugins after googling around</p>
  
  <pre><code>sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav
  </code></pre>
  
  <p>But I still get the error. How do I fix it?</p>