Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Creator does not work on Win10 - vcruntime.dll



  • Hi

    I have tried installing Qt open source in Win10 machine after successfully using in Win7. When I try to run the Qt creator I am given 'vcruntime140_1.dll not found. Dependency walker indicates there are loads of DLLs missing but this tool is new to me so I maybe reading it wrong.

    I've tried re-installing Qt, originally I just went for standard install, second time I did custom and only chose the MinGW tools, and removed things like the Android and Web dev stuff which I'm not using, no difference same error. I've installed MSVisual Studio Code afterwards, I have tried repairing the C++ re-distributable in 'Programs and Features' cp, I have tried downloading the DLL installer and re-running, nothing works. All the solutions I find seem to propose something along these lines and this does not work.

    I did find a post (can no longer locate it) where user HanksCat describes the exact same problem just a couple of months ago, his solution is to install the C++ re-distributable dated 2015-2019. I have about a dozen of these various re-distributables dated various years INLCUDING the one 2015-2019. I have done a repair on this and then restarted after Qt installation. Again no fix.

    The Qt version is 4.12.4 community, OS is Version 10.0.18363 Build 18363. In C:\windows\system32\ I have a vcruntime140.dll and vcruntime140_clr0400.dll, but no vcruntime140_1.dll which Qt seems to want.

    I am at a total loss as to what to do, any help would be greatly appreciated.



  • UPDATE:

    Having re-read my post after submitting to make sure it was accurate I did wonder if the online installer was doing something wrong or maybe an earlier version might work. So I used the offline installer for 4.13.2 of Qt Creator only and I now have a Qt Creator which runs. No idea if it will create working code, that's the next challenge...


  • Lifetime Qt Champion

    @Bill-Melotti said in Qt Creator does not work on Win10 - vcruntime.dll:

    The Qt version is 4.12.4 community

    I guess you mean QtCreator?
    In your second version you wrote that you installed older QtCreator 4.13.2. But that version is newer than 4.12.5.
    Did you also install all available Windows updates?



  • @jsulm said in Qt Creator does not work on Win10 - vcruntime.dll:

    @Bill-Melotti said in Qt Creator does not work on Win10 - vcruntime.dll:

    The Qt version is 4.12.4 community

    I guess you mean QtCreator?
    In your second version you wrote that you installed older QtCreator 4.13.2. But that version is newer than 4.12.5.
    Did you also install all available Windows updates?

    Hi

    Many thanks for the reply.

    Yes correct I did mean Qt creator. Actually I hadn't spotted the offline installer had given me a newer version, I think I picked one below the latest offered and assumed it would be earlier without double checking version numbers!

    I feel a bit happier now I have a later version, however I'm not sure if there is generally a problem mixing versions of IDE and libs that were not 'as supplied'. Hopefully that terminology makes sense, I'm new to Qt

    All Windows updates are managed by a third party and I assume they are done regularly, my machine is often booted on the Tuesday schedule. I don't do manual updates.


  • Lifetime Qt Champion

    @Bill-Melotti said in Qt Creator does not work on Win10 - vcruntime.dll:

    I'm not sure if there is generally a problem mixing versions of IDE and libs

    That shouldn't be a problem. You can have different QtCreator versions (as long as they are not installed in same directory) and you can have as many Qt versions installed as you like.


Log in to reply