Qt Creator 4 - Windows 10 detects MSVC but not detects cl.exe and lib + include folders
I installed Qt 5.7 RC with Qt Creator 4.0.1.
I have Windows 10 Insider Preview installed on disc "C". MSVC 15 Enterprise is installed on disc "D". Qt can't find cl.exe even if it's in System Environment Path.
What is strange is that new created project has different environment path string than system environment path. So currently it can't find cl.exe and include headers like <iostream>..
When I type "#include <" I can see from intellisense Qt headers and dirs from C:/ which is strange. C:/ is not in environment path.
Can someone explain what's going on?
SOLUTION: Manually add Kits
no one had this problem before?
Did you check the compiler settings in "Tools/Options.../Build & Run/Compilers"?
Qt headers/libs are found if Qt is configured properly in QtCreator, no need to have it in PATH.
Compiler is successfully found.
Btw it was Qt 5.7 RC, so I uninstalled it, currently downloading final release
Even after install Qt 5.7 final not working.
Options > Tools > Compilers look like this: https://ctrlv.cz/shots/2016/06/16/Tq9z.png
Is the C++ compiler really installed?
As far as I know it is not installed by default if you install VS2015.
Can you build a simple C++ program in VS2015?
Sure, there is a prove: https://ctrlv.cz/shots/2016/06/17/RPx7.png
Yes I know VS15 normally not install C++, I installed these modules
Can be problem in drives? Visual Studio is not installed on System drive.
Thread revive... Still can't figure it out, any ideas please?
In the screen-shot you posted you have compilers with exactly same name under autodetected and manual sections. Which one do you use? Are there differences?
I did not created them manually, they appeard there. I'm using auto-detected.
@glararan I really doubt the compilers under "Manual" appeared automatically. Auto-detected compilers are in the "Auto-detected" section.
I'm 100% I did not added them. I removed them, now it says "No compiler" in Options > Build & Run > Kits > Auto-detected.
EDIT: So I had to add manually new Kit. Solved for now