|  | Home · Examples

# QtDBus module

[Previous: QAxServer Module][Qt's Modules]

## Namespaces

QDBus |

## Classes

QDBusAbstractAdaptor |
QDBusAbstractInterface |
QDBusArgument |
QDBusConnection |
QDBusConnectionInterface |
QDBusContext |
QDBusError |
QDBusInterface |
QDBusMessage |
QDBusObjectPath |
QDBusReply |
QDBusServer |
QDBusSignature |
QDBusVariant |

The QtDBus module is a Unix-only library that you can use to make Inter-Process Communication using the D-Bus protocol. Applications using the QtDBus module can provide services to other, remote applications by exporting objects, as well as use services exported by those applications by placing calls and accessing properties.

The QtDBus module provides an interface that extends the Qt Signals and Slots mechanism, allowing one to connect to a signal emitted remotely as well as to connect a local signal to remote slot.

To use this module, use the following code in your application:

    #include <QtDBus>

If you're using qmake to build your application, you can add this line to your .pro file to make it link against the QtDBus libraries:

    QT += dbus

Note: The source code for this module is located in the `src/qdbus` directory. When installing Qt from source, this module is built when Qt's tools are built.

See the Introduction to D-Bus page for detailed information on how to use this module.

This module is part of all Qt editions.