title: Qt application release exe not running
body: <p>I have built a very simple calculator in Qt. When I run it in release mode from qt creator, everything works fine. However when I go to the release folder and run it, it gives QT5Core.dll, QT5Widgets.dll and QT5Gui.dll not found. After running windeployqt there by:</p>
  
  <pre><code>windeployqt .
  </code></pre>
  
  <p>All the dll get added. However, it then gives error VCRUNTIME140_APP.dll and MSVCP140_APP.dll not found. After copying them to the folder. The exe doesn't give any error on double clicking but just does not start. What should I do?
  I found this solution <a href="https://forum.qt.io/topic/97133/problem-deploying-a-simple-qml-windows-app" rel="nofollow noreferrer">here</a>, however I cannot find any qml file in the application directory.</p>
  
  <p>I created it as a QT widget application. I am using Windows 10 with Visual Studio 2017 and MSVC2017 64bit desktop kit. The application is in C++.</p>
  
  <p><strong>Update:</strong>
  Running the command </p>
  
  <pre><code>windeployqt Calculator.exe 
  </code></pre>
  
  <p>after adding qt to the path seems to do the trick. Application working even after removing qt from the path. Will try running the app inside vm just to be extra sure.</p>