title: platform plugin libqxcb.so found but can not find Qt libs. (Deploying Qt application for Linux with Dynamic linking)
body: <p>I am trying to deploy a Qt5 application for Linux (Debian) with dynamic linking. My app runs well on Ubuntu where all dependencies work well. My application package looks like this:</p>
  
  <pre><code> - application.exe
   - qt.conf
   - libicudata.so.54
   - libicui18n.so.54
   - libicuuc.so.54
   - libQt5Core.so.5
   - libQt5DBus.so.5
   - libQt5XcbQpa.so.5
   - libQt5Gui.so.5
   - libQt5Widgets.so.5
   - platforms / libqxcb.so
  </code></pre>
  
  <p>When I run it from the terminal on Debian I get this error message: </p>
  
  <blockquote>
    <p>This application failed to start because it could not find 
    or load   the Qt platform plugin "xcb".</p>
    
    <p>Available platform plugins are: xcb.</p>
    
    <p>Reinstalling the application may fix this problem.
    Aborted </p>
  </blockquote>
  
  <p>Then I ran ldd on libqxcb.so and saw that it I could not find the qt libs in the main folder. My application.exe can find all the qt libs by rpath in pro file so it is only the platform plugin that can not find the qt libs. </p>
  
  <p>How can I set the path to Qt libs for the platform plugins?</p>