LNK1168: cannot open debug\file.exe for writing

I have qt project but if I edit my code, Qt creator throws out this error

:-1: error: LNK1168: cannot open debug\GettingStarted.exe for writing

I’m not able even to delete the debug folder (i.e. as an administrator). I have to log off and then come back. What is the problem and how can I solve it?

Leave a Comment