我通过TCP使用Qt DBus。如果发现我可以设置UNIX方法,是否可以仅通过PIPES使用它(在Windows上也可以使用该方法)
我尝试通过method=UNIX
,但没有成功。知道要通过什么,如果可能的话?我在这里谈论这个字符串:QDBusServer(dbusAddress, this)
// Application Options:
// -h, –host=HOSTNAME Hostname or IP of the remote host
// -p, –port-ssh=PORT-SSH SSH port on the remote host
// -u, –username=USERNAME SSH username on the remote host
// -w, –password=PASSWORD SSH password on the remote host
// -m, –method=DBUS_TRANSPORT_METHOD The D-Bus transport method to use (TCP, UNIX, abstract-UNIX)
// -b, –bind=HOSTNAME The bind-address to listen for D-Bus client connections on
// -d, –bus-address=BUS_ADDRESS The DBus session bus address of the remote D-Bus daemon
// -t, –port-tcp=PORT-TCP The TCP port to listen for DBus client connections on
// -v, –verbose=VERBOSE Set verbosity level (3, 2, 1, 0, -1)=(packet,protocol,functions,important,none)