title: How to configure a fresh installation of qtcreator?
body: <p>I'm trying to configue QtCreator with no success. I want to open an existing project. When I try to compile and run it, I get only empty black console. It looks like it compiles fine but no output.</p>
  
  <p>I've installed this 32bit version:</p>
  
  <blockquote>
    <p>Qt 5.2.0 for Windows 32-bit (MinGW 4.8, OpenGL, 689 MB) (Info)</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/1S7Ha.png" alt="enter image description here"></p>
  
  <p>When I start a new project, QtCreator wants me to run cmake. When It's done, it works fine. I can also build HelloWorld with "g++ main.cpp"</p>
  
  <p>Can anyone tell me what should I do step by step? I ran out of strength. I don't know why it doesn't work.</p>
  
  <hr>
  
  <p>I think it is not very important, but I'm using Win7 64bit. First, I tried to install 64bit QtCreator: </p>
  
  <blockquote>
    <p>Qt 5.2.0 for Windows 64-bit (VS 2012, OpenGL, 589 MB) (Info)</p>
  </blockquote>
  
  <p>But I had some problems with compilers. It looked like I didn't have them installed. I also tried an online installer and now this 32bit version. Always same result.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I found out something. This works:</p>
  
  <p>ComputerGraphics.pro</p>
  
  <pre><code>TEMPLATE = app
  CONFIG += console
  CONFIG -= app_bundle
  CONFIG -= qt
  
  INCLUDEPATH += C:/Users/user/Desktop/projekty/PocitacovaGrafika2/opencv/include
  
  LIBS += -LC:\\Users\user\\Desktop\\projekty\\PocitacovaGrafika2\\opencv\\bin \
      libopencv_core246d \
      libopencv_highgui246d \
      libopencv_imgproc246d \
  
  SOURCES += main.cpp \
  </code></pre>
  
  <p>and main.cpp</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  int main(){
      std::cout &lt;&lt; "Hello";
      return 0;
  }
  </code></pre>
  
  <p>This even doesn't print Hello (.pro is the same as previously):</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  int main(){
      std::cout &lt;&lt; "Hello";
      IplImage* img = cvLoad("Desert.jpg",1);
      cvShowImage("img",img);
      cvWaitKey(0);
      return 0;
  }
  </code></pre>
  
  <p>In debug, it complains:<br/>
  <strong>The gdb process terminated unexpectedly (code 0)<br/>
  During startup program exited with code 0xc0000135.</strong></p>