5.9 C1083: Cannot open include file: 'corecrt.h': No such file or directory



  • Cannot compile with MSVC2017 64bit....
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h:10: error: C1083: Cannot open include file: 'corecrt.h': No such file or directory

    The file is here though...
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt.h

    where to fix this pathing problem.. I was hoping 5.9 would fix its installation issues but once again// fails (i have wonder do they even bother testing stuff?)

    this was with vs2017 already installed (the qt installer doesn't inform you of what additional things need to be installed or changed, from the vs2017 installer, pretty rubbish still... will they ever bother to get qt installer that actually works and sets things up to work with VisualStudio properly ...the qt ide is doodoo)



  • In VS 2017, right click your project,select Properties->General->Windows SDK version select 14.10.25017



  • I'm not even opening the project up with vs2017.. this is just using the qt installer setup that was meant to be preconfigured or so I thought...

    the errors aren't exactly helpful on what is missing or why its not using the correct paths..and I have no idea.

    i did go through the vs2017 installer and install additional things..

    and I would like to use vs2017 ide ... but qt does not seem to bother making this easy at all.. though it is a by far a lot better than qt ide which which is kinda junk and leaves a lot to be desired.

    anyway right now still just want to know how to fix this... a proper guide on actually using vs2017 with qt would be nice. seems even the qt plugin for vs2017 is properly supported either.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.