QtCreator reports lots of headers as "not found"
-
Re-installing Windows from time to time is a good idea. Forces you to think about things, where to store information, how to backup etc.
You could try two things:
-
Open Qt Creator from a Visual Studio Command Prompt, where I assume that the
INCLUDE
,LIB
andPATH
environment variables contain the necessary paths needed to compile the project.
Withset INCLUDE=%INCLUDE%
paths could be prepended or appended. -
If Qt Creator works fine, one could then add in the Qt Creator's Preferences -> Environment -> System -> Environment the
INCLUDE
,LIB
, andPATH
values.
They would be global, affect all kits, but hopefully work as expected.
PATH=${PATH};\some\extrapath
is the format of Qt Creator's macro expansion. -
-
@cristian-adam This is a very good suggestion. In fact, in one of my previous posts I was asking where these variables could be set.
At any rate, it is much more than just probable that I will reinstall Windows. If things start to fail like in this case, I think it's time to reset the system.
Thanks!
-
Well, reinstalling Windows did the trick. Now everything works as it always did.
A pity that posting in MS Visual Studio help forum takes about two weeks to get an answer. Or at least, this is what the bot that first answers you says.
Two weeks, yes.
Thanks to all of you.
-
B bleriot13 has marked this topic as solved on