DBUSConnectionEventLoop::getInstance() has been removed
It's also not a global static object anymore so it should be fine
to rely on it being instantiated in the right thread
*/
#include "cameraresources.h"
+#if defined(QT4)
#include <dbusconnectioneventloop.h>
+#endif
#include <QDebug>
#define APPLICATION_CLASS "camera"
m_worker(new CameraResourcesWorker) {
m_worker->moveToThread(&m_thread);
+
+#if defined(QT4)
DBUSConnectionEventLoop::getInstance().moveToThread(&m_thread);
+#endif
QObject::connect(&m_thread, SIGNAL(started()), m_worker, SLOT(init()));
m_thread.start();