title: Qt crashes when I try to use OpenNI2 library
body: <p>I'm trying to use the OpenNI library in a Qt C++ application. When I call anything from the OpenNI library and compile and run I get "The program has unexpectedly finished." instantly.. No error messages no nothing..</p>
  
  <p>What I know:</p>
  
  <ul>
  <li>It's the OpenNI library that causes this.</li>
  <li>The include path and lib path in the .PRO file are set correctly.</li>
  <li>I'm also using OpenCV and NiTE which I can access as expected.</li>
  </ul>
  
  <p>Thank you in advance for the help :) </p>
  
  <p>UPDATE:</p>
  
  <p>I solved the problem, it wasn't directly related with the openNI library. I had the environment variables pointing to the 64bit library when I was building my application with a 32bit compiler. </p>
  
  <p>Thank you for the help.</p>