Questions tagged [qtdbus]

The QtDBus module, part of the Qt framework, is a Unix-only library that you can use to perform Inter-Process Communication using the D-Bus protocol.

D-Bus is an Inter-Process Communication (IPC) open-source system for software applications to communicate with one another. QtDBus simplifies the use of D-Bus in Qt applications. A QtDbus quick tutorial is here.

56 questions
0
votes
1 answer

QtDBus in .pro brokeCONFIG += force_debug_info?

I have a qmake/qtcreator c++ project, i set CONFIG += separate_debug_info force_debug_info in my pro file and myapp.debug was generated, today i add QT += dbus and debug file isn't generated. I checked the diff with my last and ok backup, here…
0
votes
0 answers

How to run dbus-daemon on windows?

I'm trying to run a Qt d-bus example (chat) on Windows. It compiles fine but I get this error: Cannot connect to the D-Bus session bus. Please check your system settings and try again. QEventDispatcherWin32::wakeUp: Failed to post a message I…
Alix20
  • 11
  • 2
0
votes
1 answer

QtDBus. How to call a method taking a QDBusUnixFileDescriptor as parameter

I have a D-Bus method that takes a QDBusUnixFileDescriptor as a parameter. But I do not know how to call this method via the bus. The documentation for QDBusUnixFileDescriptor states: This allows applications to send and receive Unix file…
helpwithhaskell
  • 558
  • 4
  • 13
0
votes
1 answer

Correspondence between dbus-send and QDBusAbstractInterface

What is the correspondence between parameters of dbus-send utitily and parameters of constructor and call* methods of QDBusAbstractInterface? There is a plenty of examples (e.g. [1]) in the Internet of how to rule NetworkManager via DBus using…
Tomilov Anatoliy
  • 15,657
  • 10
  • 64
  • 169
0
votes
1 answer

Get service name from QDBusConnection with Qt5

Our framework is recently updating to Qt5 from Qt4. But here we got some problems on the d-bus event processing. The original code QDBusConnection::sender().name() return empty string. And the official suggested substitute way…
Cigany
  • 178
  • 1
  • 10
0
votes
1 answer

Qt DBus not receiving signals

I've been trying to get Qt DBus working, but no luck. It seems that my application isn't receiving the signals that it should. I've monitored DBus using dbus-monitor --system and it shows that the signals are indeed being generated. When I make a…
Eric D
  • 141
  • 2
  • 9
0
votes
1 answer

Sharing objects over dbus

My project derives from this example: http://doc.qt.io/qt-5/qtdbus-remotecontrolledshower-example.html There are two processes, shower and controller, and the controller can send simple messages to the shower (I just renamed the car in that project…
Héctor C.
  • 433
  • 4
  • 17
0
votes
0 answers

Qt DBUS Libraries not loadable if not started from Library-Path

After getting DBUS working on OS X Mavericks after a lot of problems, I have one last problem. My Apps are not able to interact with the Buses, if i am not in the directory, where libdbus is. For just making it clear: The simple program following,…
Zappel
  • 268
  • 3
  • 13
0
votes
1 answer

Unexpected reply signature: got "oa{sv}", expected "(oa{sv})"

Using C++/QtDBus. I'm trying to get a reply from DBus call to function described as: object, dict PullAll(string targetfile, dict filters). I registered (qDBusRegisterMetaType) a type defined as: typedef QPair< QDBusObjectPath, QVariantMap >…
user1426139
0
votes
1 answer

How to get device name with D-Bus?

I develop an application in C++ on Linux, which interacts with blueooth devices (such as bluetooth sockets or speakers). I use D-Bus command to get list of paired devices: dbus-send --system --dest=org.bluez --print-reply $BTADAPTER…
ashmanov
  • 41
  • 6
0
votes
1 answer

Process QDBusPendingCallWatcher results in PyQt4?

I'd like to make a non-blocking call to a function in a remote D-Bus service using PyQt4.QtDBus. Adapting from Qt's C++ documentation, I came up with the following test program: from PyQt4 import QtCore, QtDBus class…
evadeflow
  • 4,704
  • 38
  • 51
1 2 3
4