title: Cannot connect to X server on Raspberry pi
body: <p>I have connected my Raspberry pi through HDMI port to a monitor.Now I write a basic hello world Qt code on pi and then execute the following commands:</p>
  
  <pre><code>qmake -project.( I get pro file)
  qmake (I get make file )
  </code></pre>
  
  <p>make
  now when I execute the binary I get "cannnot connect to X server" error. I've set DISPLAY to <code>:0.0</code>.</p>