有可能知道Qt的symbian手机上运行的是什么进程吗
Is it possible to know what processes are running on a symbian phone with Qt?
我知道使用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++显然已经过时,即使是诺基亚也不建议再使用它。
谢谢,
根据去年Qt中心的一篇帖子:
我需要什么Qt API才能获得QStringList的进程?
正在获取字符串列表必须在中完成本地方式,所以我不能在那里帮你。
以下是诺基亚开发人员关于使用Qt和Symbian C++使用PIMPL模式的文章,它展示了如何从Qt代码调用原生Symbian C++。如果你想在其他平台上运行它,当然必须移植它。
相关文章:
- 是什么导致我的循环在第一次迭代中运行得更慢
- 我的代码中出现运行时错误的可能原因是什么?
- 此代码中运行时间错误的原因是什么
- 第一个进程保持运行而后续进程仅传递参数的最佳 IPC 方法是什么?
- 当我运行此C 程序时,该功能是什么
- QTimer对象是否在单独的线程中运行?它的机制是什么
- 在 pthread 中运行 shell 命令的良好和优化方法是什么?
- 一般来说,使用Qt Creator,是什么导致程序在调试模式下编译时正确运行,但在发布模式下崩溃
- GSL 的预期 (cond) 对运行时施加的性能影响是什么?
- 从QTcpSocket上的数据流中连续运行复杂算法的最佳Qt线程解决方案是什么
- 生成代码以与不需要重新编译的正在运行的 cpp 应用程序交互的好方法是什么?
- 检查我的 C++ 代码!我的cmd屏幕在运行后关闭!我的错误可能是什么
- 是什么导致了数组越界运行时错误?
- 导致此运行时错误的原因是什么,如何纠正它?
- 在Windows上运行cygwin的C ++程序的安装后过程是什么
- 在不减慢主应用程序速度的情况下在后端运行成员函数的技巧是什么
- C++ 在超类构造函数中运行依赖于子类覆盖的大量变量的代码的正确方法是什么?
- 在任何平台上执行任何Qt5应用程序的重要dll文件是什么(运行时文件dll)
- 字符串::substr() 在 C++ 中的运行时是什么
- 是什么阻止g++消除运行时未使用的临时std::数组