I installed the qTox package into a jail, and it failed to run:
> [18:07:23.828 UTC] :0 : Warning: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/var/run/user/1001', please create it with 0700 permissions.
dbus: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory)
> D-Bus not built with -rdynamic so unable to print a backtrace
It seems like Qt5 requires the dbus service. IMO, this should be only a warning, and not a failure.
I will create the upstream bug. This bug here is to track the issue, and to invite opinions about this issue.
But Qt5 apps should not fail because some secondary library isn't initialized. DBus isn't required for most UI operations. qTox should run fine without DBus.
This has likely nothing to do with Qt and is probably a dupe of bug #228001
(In reply to Tobias Kortkamp from comment #1)
This is likely the case. This makes all Qt apps to fail for this obscure reason.
Yuri, do you mind taking tobik's review and pushing it through?
With hat: I don't think kde@ can do anything here, apart from adding a pkg-message that you should enable dbus.
I close this therefore with an unsatisfactory "works as intended" -- please let me know if you think the pkg-message would be helpful.
(In reply to Tobias C. Berner from comment #4)
Thank you, Tobias.
I didn't realize that this is entirely a dbus issue, and was under the impression that it was somehow linked to Qt5 .