title: Configure error with Qt, MinGW, CMake: Qt version not found
body: <p>I have a problem building an application from Qt Creator; from the configure step, I get this error:  </p>
  
  <pre><code>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1382 (message):
    Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
  Call Stack (most recent call first):
    CMakeLists.txt:13 (FIND_PACKAGE)
  
  -- Configuring incomplete, errors occurred!
  </code></pre>
  
  <p>If I configure it from the command line, everything is file:  </p>
  
  <pre><code>cmake -G "MinGW Makefiles"  ..\ProjectDir
  </code></pre>
  
  <p>In the paths environment variable Qt is present (src, bin and lib paths).  </p>
  
  <p>Platform:<br>
  Windows 7<br>
  MinGW/GCC 4.4<br>
  CMake 2.8.11<br>
  Qt 4.8.5<br>
  Qt Creator 2.8.1  </p>