dbus library search rules for qdbus

Ralf Habacker ralf.habacker at freenet.de
Tue Jul 15 13:31:59 CEST 2008


Christian Ehrlicher schrieb:
>> Von: Ralf Habacker
>> Hi,
>>
>> Recent dbus cmake build system (and binary packages) uses different dll 
>> names for release/debug build (dbus-1/dbus1d) and compiler  (mingw: 
>> libdbus-1(d).dll msvc: dbus-1(d).dll) 
>>
>> While linking the dbus libraries to the qdbus module using the import 
>> libraries (which is indicated by the QT_LINKED_LIBDBUS macro) qt honors 
>> all the above mentioned dll naming scheme.
>>
>> In the opposite the newly added qdbus feature to load the dbus library 
>> dynamically breaks debug support because qdbus only loads dbus-1.dll 
>> (the msvc release dll) regardless of compiler and compile mode.
>>
>>     
> TT told me that they won't accept such a patch. Therefore I changed the emerge build script for qt to use ' -dbus-linked' to avoid this problem.
> --> we only allow linked dbus on windows.
>   
Is there any known reason for this inconsistency ?

Ralf



More information about the Kde-windows mailing list