-3

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

myWallJSON
  • 8,692
  • 21
  • 76
  • 146

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
  • 195,986
  • 40
  • 382
  • 396