title: Debugging Qt in visual studio, msvcp140d_app.dll is missing
body: <p>I'm new to <code>Qt</code>, but have been working with <em>Visual studio</em> for <em>C/C++</em> development for a few years.  Now I'm trying to build a <code>GUI</code> for my project.  I installed <code>Qt</code> <code>5.11.0</code> and the <code>Qt</code> VS Tools on both my work computer and home PC.  At work I can build and run my project with the VS debugger, however on my home system I can build but can't run either with VS debugger or simply launching the app.  I tried in release and it runs fine.</p>
  
  <p>The <code>error</code> I'm getting is :</p>
  
  <blockquote>
    <p>The code execution cannot proceed because VCRUNTIME140D_APP.dll was not found.</p>
  </blockquote>
  
  <p>I get <code>4</code> of these, the first two want VCRUNTIME, the second two want <code>MSVCP140D_APP.dll</code>.</p>
  
  <p>Solutions I've tried so far :</p>
  
  <ol>
  <li>Uninstalled Win SDK and reinstalled</li>
  <li>Uninstalled VS2017 and SDK and reinstalled</li>
  <li>Searched System32, SysWOW64 and VS install directories - found <code>msvcp140d.dll</code> and <code>vcruntime140d.dll</code>, but no <code>_app.dlls</code></li>
  </ol>
  
  <p>Does anyone know what these are included with and where to get them?  I can't figure out why I have them on my work computer but not at home.  I have the same VS updates, same Qt version, and SDK on both systems.</p>
  
  <p>Using :</p>
  
  <ul>
  <li>Visual Studio 2017 v15.7.1</li>
  <li>Qt 5.11.0 - msvc2017_64</li>
  </ul>
  
  <p>I suppose I can just copy the <code>.dll's</code> from my work pc and drop them in the appropriate locations on the other, but I'd like to know what they should have been installed with so I can have the same setup on both systems.</p>
  
  <p>Edit:
  I also tried changing the platform toolset to VS2015 with Qt versions msvc2015_64 and winrt_x64_msvc2015</p>
  
  <p>I found <a href="https://stackoverflow.com/questions/40255796/cannot-find-msvcp140d-app-dll">this post concerning the same missing</a> <code>_app.dll</code> files.  There wasn't any answer there, which is why I tried reinstalling the SDK in the hope the missing files were included there.</p>
  
  <p>Edit 2:
  I just scanned my entire system at work and it turns out that I don't have the missing <code>.dll</code> there either.  That tells me that there is a difference in the project properties or configuration between the two.  I use git for source control, and I am currently the only contributor to this project.  When I try to build and run just the example from the getting started guide I have the same problem at home with missing <code>_app.dll</code> files, however it works fine at work.  I'm totally confused now, and any hints are greatly appreciated.</p>