title: How do I build a Qt application without an X server requirement on Windows?
body: <p>I am trying to build a Piet IDE, but I am unable to figure out how to do so without the program giving an error saying <code>cannot connect to x server</code>.</p>
  
  <p>It is called PietCreator, and can be found <a href="https://github.com/Ramblurr/PietCreator" rel="nofollow">here</a>.</p>
  
  <p>The pre-built binary can be found <a href="https://github.com/Ramblurr/PietCreator/downloads" rel="nofollow">here</a>.</p>
  
  <p>Thar binary doesn't require an X server, but for some reason the author didn't compile in GIF support. So I compiled it myself, with all the required dependencies, but when I build it it requires an X server. So when I start up Cygwin-X and run it through its terminal, and it starts, but the application has a lot of bugs not present in the pre-built binary.</p>
  
  <p>I tried searching for how to build a Qt application without it requiring an X server, but I couldn't find anything. Can anyone offer any help? Thanks.</p>