是否可以通过Qt了解Symbian手机上正在运行的进程?

时间:2011-06-19 04:34:31

标签: c++ qt symbian nokia

我知道Symbian C ++的可行性

如下面的代码

void GetProcessListL(void)
{
TFullName res;
TFindProcess find;
while(find.Next(res) == KErrNone)
{
    RProcess ph;
    ph.Open(find);

    // here you can use 
    // functions of the RProcess
    // to get more information
    // of the selected process.

    // res will have the process name..

    ph.Close();
}
}

但是,有没有办法只使用Qt?

由于Symbian C ++显然已经过时,诺基亚甚至不建议再使用它了。

感谢,

1 个答案:

答案 0 :(得分:1)

根据去年Qt Centre的帖子:

  
    

我需要什么Qt API才能获得     QStringList的进程?

  
     

获得   必须完成一个字符串列表   原生的方式,所以我无法帮助你。

这是一篇关于诺基亚开发者关于Using Qt and Symbian C++ Together使用PIMPL模式的文章,它展示了如何从Qt代码调用本机Symbian C ++。如果你想在其他平台上运行它,当然必须移植它。