[Development] D-Bus libs for Windows
Thiago Macieira
thiago.macieira at intel.com
Mon Dec 15 21:03:10 CET 2014
Hello
I've created a zip file containing the necessary libs for D-Bus on Windows. You
can download it from:
http://macieira.org/~thiago/dbus.zip
It contains both a 32- and a 64-bit version of D-Bus libs and executables. The
bus protocol is identical for both, so it doesn't matter which daemon you run.
The headers are also identical, but for historical reasons there's one file
(dbus-arch-deps.h) which is located inside a lib dir, instead of include.
The headers are not required to build a "runtime" QtDBus. All you need to do
to enable running of the D-Bus tests in tests/auto/dbus and in
tests/benchmarks/dbus is to add the correct "bin" directory to your $PATH. The
daemon will automatically launch itself on first use.
I did not build these packages. I simply re-packaged the files from OpenSUSE's
MinGW32 and MinGW64 builds by copying all the files and placing them in a
suitable path (all files listed by rpm -ql `rpm -qa mingw*dbus* mingw*expat*`).
This should work for all compilers on Windows since the libraries don't link
to any MinGW library:
$ dumpbin -dependents /c/Qt/3rdparty/dbus/64/bin/libdbus-1-3.dll
Microsoft (R) COFF/PE Dumper Version 14.00.22310.1
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file c:/Qt/3rdparty/dbus/64/bin/libdbus-1-3.dll
File Type: DLL
Image has the following dependencies:
ADVAPI32.dll
IPHLPAPI.DLL
KERNEL32.dll
msvcrt.dll
WS2_32.dll
Source packages:
windows:mingw:win32 / openSUSE_13.2 mingw32-dbus-1-1.8.10-1.2
windows:mingw:win32 / openSUSE_13.2 mingw32-dbus-1-devel-1.8.10-1.2
windows:mingw:win32 / openSUSE_13.2 mingw32-libdbus-1-3-1.8.10-1.2
windows:mingw:win32 / openSUSE_13.2 mingw32-libexpat-devel-2.0.1-11.3
windows:mingw:win32 / openSUSE_13.2 mingw32-libexpat1-2.0.1-11.3
windows:mingw:win64 / openSUSE_13.2 mingw64-dbus-1-1.8.10-2.1
windows:mingw:win64 / openSUSE_13.2 mingw64-dbus-1-devel-1.8.10-2.1
windows:mingw:win64 / openSUSE_13.2 mingw64-libdbus-1-3-1.8.10-2.1
windows:mingw:win64 / openSUSE_13.2 mingw64-libexpat-devel-2.0.1-10.4
windows:mingw:win64 / openSUSE_13.2 mingw64-libexpat1-2.0.1-10.4
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list