-3

是否可以让您的 Qt 应用程序在运行时不自行锁定文件?

4

1 回答 1

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.

于 2012-05-18T06:54:00.960 回答