Back in the day I implemented DBUS support in notificator.cpp
because the default Qt notifications used a deprecated notification through X11, which didn’t show up in Ubuntu’s GUI anymore. However I just found in the Qt 5.5 release notes that
On supported desktops, the xcb plugin now uses the D-Bus based org.kde.StatusNotifier protocol for system tray icons, and org.freedesktop.Notifications for notifications.
(for comparison, we require Qt 5.11.3)
From this I understand that Qt will already automatically do the right thing with regard to notifications. Unless we do something custom not supported by this, it may be possible to get rid of our custom code for this.
It would remove the (direct) dependency on QtDbus. This will need to be tested carefully, of course.
(something similar may be true for MacOS notifications; I did not look into this)