用支持实例间通信的方式替换 Qt 5 和 Qt 6 中的 QtSingleApplication。
Replacement of QtSingleApplication for Qt 5 and Qt 6 with support for inter-instance communication.