带信号/槽的 PySide IPC

发布于 2024-11-28 07:57:19 字数 310 浏览 4 评论 0原文

我一直在试图弄清楚是否有任何方法可以在 PySide 中管理 IPC 并且仍然利用 Qt 的信号/槽机制。 QtDBus 模块听起来很棒,但它似乎在 PySide 中不可用。我在 Qt wiki 上遇到了 https://wiki.qt.io/PySide_DBus_Integration - 但这并没有似乎无法让我到达那里。

任何支持信号/槽的 IPC 框架都会让我很开心。还有其他人遇到过这个问题吗?最终的结论是什么?

I've been trying to figure out if there's any way to manage IPC in PySide and still take advantage of Qt's signals/slots mechanism. The QtDBus module sounds great, but it doesn't appear to be available in PySide. I came across https://wiki.qt.io/PySide_DBus_Integration on the Qt wiki - but that doesn't seem to get me there.

Any IPC framework supporting signals/slots would really make my day. Has anyone else had this problem - what was the final verdict?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

娇俏 2024-12-05 07:57:19

共有三种基本的 IPC 解决方案[来源]


  • 管道
  • 套接字(sockets、 ZMQ)
  • System V IPC,如共享内存、消息队列、信号量,(DBus)

IPython 使用 ZMQ 来解决类似的问题。
这里有一些很好的文档: IPython QT 接口

There are three basic IPC solutions [source]:


  • Pipes
  • Sockets (sockets, ZMQ)
  • System V IPC, like shared memory, message queue, semaphore, (DBus)

IPython uses ZMQ to solve similar problems.
Here is some nice documentation about that: IPython QT interface

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文