Qt creator was working well, but suddenly shows a problem error: LNK1181: cannot open input file \'debug\\main.obj\'
.
This problem shows always with any typ
What worked for me:
Generally whenever I encounter an error like this, this is one of the first things I do as it solves a lot of problems with Qt.
Edit: This will of course reset your project build location.