-3

Is it possible to make your Qt application not lock file with itself while it is running?

myWallJSON
  • 9,110
  • 22
  • 78
  • 149

1 Answers1

3

Assuming you mean locking the application's exe file itself, well, you can't prevent that. It is not related to Qt, this is a Windows behavior, unrelated to what you used to produce your application.

See this question: Locking Executing Files: Windows does, Linux doesn't. Why? for why it happens.

Community
  • 1
  • 1
Mat
  • 202,337
  • 40
  • 393
  • 406