Building QtDBus

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Oct 22 20:14:02 CEST 2006


Stromek schrieb:
> On Sun, Oct 22, 2006 at 06:27:14PM +0200, Christian Ehrlicher wrote:
>> Stromek schrieb:
>>> Hi all,
>>>
>>> I have a comment regarding QtDBus building. At
>>> <http://www.kdelibs.com/wiki/index.php/QtDBus> there is stated, check
>>> out qt-copy/tools/qdbus from kdesvn, set
>>> environment
>>> variable DBUSDIR, call qmake and then build. However, I do not see any
>>> code in *.pro files that should take this into account and indeed
>>> "mingw32-make" says that dbus/dbus.h cannot be find. (Could someone
>>> post a better procedure for building qdbus or maybe help me to write one?)
>>>
>>> I can overcome this by editing generated makefiles and adding path for
>>> dbus includes and libs. Unfortunately in this case, building qdbus fails with lots of
>>> linking errors, see attached log file. I do not have a clue why those
>>> references are missing. I get the same errors even if I compile dbus by
>>> myself. Ideas anyone?
>>>
>>> I am not a developer of
>>> kdelibs and relating stuff but I'm enthusiast:) who wants to help
>>> speedup
>>> kdelibs on windows. The site kdelibs.com is great place with information on how
>>> to build the whole beast but I think the information is little
>>> bit messy and should be cleaned up to have better written procedure how to
>>> build it.
>>>
>> You need windbus from sf.net/projects/windbus (check out svn, apply
>> windows-patch.diff & compile with cmake, install, apply
>> qt-qdbus-win32.patch to qt sources, change path if it's not c:/Programme
>> in src.pro and compile qdbus)
> 
> Thanks for your answer. I was using windbus both precompiled and
> also compiled by myself using mingw. If compiling manually,
> windows-patch.diff is applied automatically (I checked it and it was
> applied). So, I was doing exactly what you have written except of
> applying qt-qdbus-win32.patch.
> 
> Regarding qt-qdbus-win32.patch, it is little bit screwed because it
> patches all files but qdbus.pro (there is incorrect path,
> tools/qdbus/qdbus.pro instead of tools/qdbus/tools/qdbus/qdbus.pro).
Peter fixed this someminutes ago
> This patch "just" modifies *.pro files to
> reference dbus includes and libs, still not accepting environment
> variable DBUSDIR. It does not solve those "undefined reference to
> _RTC_CheckEsp" errors during linking.
> 
I don't have such problems (using msvc and mingw). But can it be that
you mix msvc and mingw?
> Btw. this patching step should be stated on wiki or maybe this could be
> committed to kdesvn qt-copy/tools/qdbus.
> 
It's mentioned on kdelibs.com now - should imho be enough.
> Still, I'll try to overcome those linking problems. Anyway, if someone has any
> suggestions they are welcome :-)
> 
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20061022/1bdcd518/attachment.pgp 


More information about the Kde-windows mailing list