Building a working DBus & QtDBus on Windows
Ogden, Nick
nick.ogden at usa.g4s.com
Thu Aug 11 08:17:24 UTC 2011
I've now managed to create a working D-Bus and QtDBus setup. It turned out to be the very silly issue of not having the dbus-1.dll in my path resulting in Qt failing to load the library. Always the little things huh! ;)
Thank you very much for your help and thanks for all your hard work on KDE.
Regards,
Nick
-----Original Message-----
From: kde-windows-bounces at kde.org [mailto:kde-windows-bounces at kde.org] On Behalf Of Andre Heinecke
Sent: 11 August 2011 08:27
To: KDE on Windows
Subject: Re: Building a working DBus & QtDBus on Windows
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
_______________________________________________
Kde-windows mailing list
Kde-windows at kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
The details of this company are as follows:
G4S Technology Limited, Registered Office: Challenge House, International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338.
This communication may contain information which is confidential, personal and/or privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited.
Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them.
Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity.
This e-mail has been scanned for all viruses by MessageLabs.
More information about the Kde-windows
mailing list