Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Compile QtDBus on windows, using KDE libdbus
soroush last edited by
I'm trying to compile Qt 4.8.4 on Windows 7 using MinGW 4.7.1.
I will need D-Bus in my project, so I configured Qt with -dbus option. I've downloaded "libdbus":http://sourceforge.net/projects/kde-windows/files/dbus/1.4.16/ from KDE windows project, and extracted "dbus-lib":http://sourceforge.net/projects/kde-windows/files/dbus/1.4.16/dbus-x86-mingw4-1.4.16-lib.tar.bz2/, "dbus-bin":http://sourceforge.net/projects/kde-windows/files/dbus/1.4.16/dbus-x86-mingw4-1.4.16-bin.tar.bz2/ and "dbus-dbg":http://sourceforge.net/projects/kde-windows/files/dbus/1.4.16/dbus-x86-mingw4-1.4.16-dbg.tar.bz2/ in my MinGW root. During compile, Qt can can find dbus and link against. There are headers, pre-compiled libraries in this file. Though libdbusd-1d.dll is not present in "debugging tarball":http://sourceforge.net/projects/kde-windows/files/dbus/1.4.16/dbus-x86-mingw4-1.4.16-dbg/ released by KDE windows team. There are only manifest and .sym files in that tarball. Qt fails to link against and compilation terminates.