Building a working DBus & QtDBus on Windows
Andre Heinecke
aheinecke at intevation.de
Thu Aug 11 07:26:36 UTC 2011
Hi,
Am Dienstag 09 August 2011 12:42:51 schrieb Ogden, Nick:
> Hi,
>
> I've been attempting to build a working QtDBus and DBus daemon setup on
> windows, however with the built D-Bus daemon running, QDBusViewer is unable
> to connect and display the bus objects.
You could just use emerge for this which is a really nice tool to build for
windows and contains a lot of knowledge about how to compile software.
Even for kde unrelated projects.
>
> When using the KDE-Windows DBus binaries and QtDBusViewer, I notice there
> is no problem and the bus can be viewed. I was wondering if there are any
> patches or build procedures that are followed by the KDE-Windows build
> process to achieve this working setup?
Recently we switched to dbus-1.4.10 where we only have one tiny patch against
it so that it compiles with msvc 2010, everything else is upstream sources.
To avoid conflicts between multiple dbus-installations we use the install-path
scope which may be a problem with your installation that your dbus and
qdbusviewer are not in the same scope.
Our configure options are:
"-DDBUS_BUILD_TESTS=OFF "
"-DDBUS_ENABLE_XML_DOCS=OFF "
"-DDBUS_USE_EXPAT=ON "
"-DDBUS_REPLACE_LOCAL_DIR=ON "
"-DDBUS_ENABLE_VERBOSE_MODE=OFF "
"-DDBUS_DISABLE_ASSERTS=ON "
"-DDBUS_SESSION_BUS_DEFAULT_ADDRESS:STRING=autolaunch:scope=install-path "
Regards,
Andre
--
Andre Heinecke | ++49-541-335083-262 | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Kde-windows
mailing list