Qt Creator 4 - Windows 10 detects MSVC but not detects cl.exe and lib + include folders
-
Hi,
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?
Thanks
SOLUTION: Manually add Kits
-
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. -
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.
-
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?