[solved]:-1: error: cannot open output file release\counter.exe: Permission denied



  • today, i write some program, start it and its work ok.
    than i make some changes in text and have some error.
    after this i pressed ctrl+z and back to my 1st version and have this error:
    ":-1: error: cannot open output file release\counter.exe: Permission denied
    collect2.exe:-1: error: error: ld returned 1 exit status"

    what is that?
    so i need to restart my Qt creator to open this again =(


  • Moderators

    That is an annoying windows behavior: While the application is running its executable file is locked on disk. Close the application (yours, not Qt Creator;), wait for a couple of seconds and try again. Windows will remove the lock and you can build again.



  • ty [solved]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.