How to use Qt-Dbus bindings without blocking the main thread
问题 My goal is to create a library using the Qt's DBus bindings. I tried to create a Qt application without launching the QEventLoop (provided by the QCoreApplication class) in the main thread. Here is a minimalistic application sample, working fine using QT-4.6.2 version but blocking on introspection using QT-4.8 or higher. DBusHandler.hpp #pragma once #include <iostream> #include <QtCore/QThread> #include <QtCore/QtCore> #include <QtDBus/QDBusInterface> class DBusHandler : public QThread { Q