阅读背景:

如何从c++程序中重新启动Linux ?

来源:互联网 

I have a Qt 4 GUI where I need to have a option in a drop-down menu that allows the user to choose to restart the computer. I realize this might seem redunant with the ability to restart the computer in other ways, but the choice needs to stay there. I've tried using system() to call the following:I have a Qt 4 GUI where I need to have a option




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: