title: Set System Environment variable before Qt application start
body: <p>I have developed one sample Qt application. My application runs only when we execute below command in terminal first.</p>
  
  <pre><code>export QT_X11_NO_MITSHM=1
  </code></pre>
  
  <p>If we don't export above variable and start application ( "./test") then it open the window but it has some paint rendering issue.</p>
  
  <p>Can anyone suggest, how can we set this variable from application itself rather then externally set from terminal ?</p>
  
  <p>Thanks in Advance.</p>