<div dir="ltr">Hi
<span style="color:rgb(136,136,136)">Zeeshan,</span><div><span style="color:rgb(136,136,136)">I used MSYS2 to install Glib, which contains dbus-daemon.exe, dbus-launch.exe. dbus-monitor.exe.</span></div><div><span style="color:rgb(136,136,136)">Below shown an example of dbus-daemon output after two entities of </span>dbus-monitor.exe were started:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>C:\msys64\mingw64\bin\dbus-daemon.exe --session<br>Connection :1.0 (pid=11372 comm=""sid="S-1-5-21-177864586-1962595300-534345795-1413" ) became a monitor.<br>Connection :1.1 (pid=14232 comm=""sid="S-1-5-21-177864586-1962595300-534345795-1413" ) became a monitor.<br></blockquote><div> </div><div><br></div><div><span style="color:rgb(136,136,136)">I really did not specify </span>DBUS_SESSION_BUS_ADDRESS, I will try to find how to do that.</div><div><br></div><div>Thank you.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 30 нояб. 2020 г. в 14:41, Zeeshan Ali <<a href="mailto:zeeshanak@gnome.org">zeeshanak@gnome.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Igor,<br>
<br>
On Mon, 30 Nov 2020 at 12:24, Igor Chetverovod <<a href="mailto:chetverovod@gmail.com" target="_blank">chetverovod@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I have a working D-BUS application for Windows, it is using GDBus. It works fine.<br>
<br>
It does? I didn't know the dbus-daemon actually works on Windows.<br>
<br>
> Now I want to create an application based on Qt5.5 and QtDbus. Example chat from Qt kit reports every time:<br>
><br>
>> Cannot connect to the D-Bus session bus.<br>
>> Please check your system settings and try again.<br>
><br>
><br>
> So, it looks like D-BUS daemon does not start work with the application.<br>
> When I try to start dbus-daemon manually it does not help to fix the issue.<br>
<br>
Is it possible that you either didn't run it as session bus or didn't<br>
specify the DBUS_SESSION_BUS_ADDRESS env to Qt app?<br>
<br>
The daemon should work identically for both.<br>
<br>
> Is there a DBUS installer for Windows or some document describing how to configure DBUS on Windows?<br>
<br>
Doubtful many people are using D-Bus on windows and if they are, they<br>
probably use peer-to-peer (avoiding the broker) so I don't think such<br>
a document exists yet. I hope if/when you figure it out, you'd<br>
document the experience so others don't have to go through the same.<br>
<br>
-- <br>
Regards,<br>
<br>
Zeeshan Ali<br>
</blockquote></div>