且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Qt-如何检测应用程序是否在GNOME或KDE上运行?

更新时间:2023-10-10 11:49:22

使用QProcess运行pidof foo,然后检查其stdout?如果这不是您想要的,请搜索/proc/.

Use QProcess to run pidof foo, then check its stdout? If this is not what you want, search /proc/.