Qt D-Bus 查看器
Qt D-Bus Viewer (qdbusviewer
) 是一种可让您内省 D-Bus 对象和消息的工具。您可以选择系统总线或会话总线。点击左侧列表中的任意服务,即可查看所有导出对象。
双击方法即可调用这些方法。如果方法需要一个或多个 IN 参数,则会打开属性编辑器。
右键单击信号可连接到该信号。所有发出的信号(包括其参数)都会在窗口下方的消息视图中输出。
运行Qt D-Bus 查看器
要运行Qt D-Bus Viewer,请执行相应 Qt 版本安装目录下的qdbusviewer
工具。对于使用Qt Online Installer 的 Qt 6.9.0 Linux/X11 安装程序,该工具位于:
<INSTALL_DIR>/6.9.0/gcc_64/bin/qdbusviewer
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.