En esta página

Ping-pong con D-Bus

Muestra un sencillo sistema de mensajes que utiliza D-Bus.

Ping Pong es un ejemplo de línea de comandos que muestra los conceptos básicos de Qt D-Bus. Se envía un mensaje a otra aplicación y se recibe una confirmación del mismo.

Ejecución del ejemplo

Puedes ejecutar el ejemplo desde:

Ejecuta la aplicación « pong » y ejecuta la aplicación « ping » con el mensaje como argumento.

$ ./pong &
$ ./ping Hello
Reply was: ping("Hello") got called

Proyecto de ejemplo en @code.qt.io

© 2026 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.