开发者

Qt application - open one process only

开发者 https://www.devze.com 2023-01-24 11:57 出处:网络
I have Qt GUI application which I want that the user will open one only. I want that if the user will click first time on th exe - it will open the application and when he will click it again it will

I have Qt GUI application which I want that the user will open one only. I want that if the user will click first time on th exe - it will open the application and when he will click it again it will open the first one.

i don't want to do it with QtSingleApplication. I 开发者_StackOverflow社区want to know exacly how to open the GUI on the second time.

Help me please!


Even if you don't want to, QtSingleApplication is what works. If you want to learn how it is implemented, you can always read the source code.

0

精彩评论

暂无评论...
验证码 换一张
取 消