Ping Pong Complejo D-Bus
Demuestra el uso del sistema de tipos Qt D-Bus.
El ejemplo Complex Ping P ong demuestra el uso de Qt D-Bus typesystem con QDBusVariant y QDBusReply. El ejemplo consiste en la aplicación principal complexping que inicia la otra aplicación, complexpong. La introducción de palabras clave como hello y ping es manejada por complexpong y la respuesta se imprime en la salida estándar.
Ejecutar el ejemplo
Para ejecutar el ejemplo desde Qt Creatorabra el modo Welcome y seleccione el ejemplo de Examples. Para más información, consulte Qt Creator: Tutorial: Construir y ejecutar.
Para ejecutarlo, ejecute la aplicación complexping.
$ ./complexping Ask your question: When is the next Qt release? Reply was: Sorry, I don't know the answer Ask your question: What is the answer to life, the universe and everything? Reply was: 42
© 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.