qt-dbus compilation problem
Peter Kümmel
syntheticpp at gmx.net
Wed May 31 13:15:33 BST 2006
Ralf Habacker wrote:
> Hi all,
>
> there are problems compiling qt-dbus on win32 using mingw:
>
> qt-dbus request dbus/qdbus.h from the basic dbus installation, which
> refers to <dbus/qdbus....h>, wich could not be found because in qt-dbus
> sources there is no dbus subdirectory containing the header:
>
>
> C:\Daten\kde4\kdesupport\qt-dbus-build>mingw32-make
> Building CXX object CMakeFiles/dbusidl2cpp.dir/dbusidl2cpp.obj
> In file included from C:\Daten\kde4\kdesupport\qt-dbus\dbusidl2cpp.cpp:35:
> C:/Programme/dbus/include/dbus/qdbus.h:29:40:
> dbus/qdbusabstractadaptor.h: No such file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:30:42:
> dbus/qdbusabstractinterface.h: No such file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:31:28: dbus/qdbusbus.h: No such
> file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:32:35: dbus/qdbusconnection.h: No
> such file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:33:30: dbus/qdbuserror.h: No such
> file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:34:34: dbus/qdbusinterface.h: No
> such file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:35:32: dbus/qdbusmessage.h: No
> such file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:36:30: dbus/qdbusreply.h: No such
> file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:37:31: dbus/qdbusserver.h: No
> such file or directory
> C:/Programme/dbus/include/dbus/qdbus.h:38:29: dbus/qdbusutil.h: No such
> file or directory
> C:\Daten\kde4\kdesupport\qt-dbus\dbusidl2cpp.cpp: In function
> `QByteArray qtTypeName(const QString&)':
> C:\Daten\kde4\kdesupport\qt-dbus\dbusidl2cpp.cpp:261: error: `QDBusUtil'
> has not been declared
> C:\Daten\kde4\kdesupport\qt-dbus\dbusidl2cpp.cpp:261: error:
> `signatureToType' was not declared in this scope
> mingw32-make[2]: *** [CMakeFiles/dbusidl2cpp.dir/dbusidl2cpp.obj] Error 1
> mingw32-make[1]: *** [CMakeFiles/dbusidl2cpp.dir/all] Error 2
> mingw32-make: *** [all] Error 2
>
> Any idea how to fix this ?
>
> Regards
> Ralf
>
There is a symbolic link which does not work under windows,
so we have to rearrange the files or ifdef all include commands.
More information about the kde-core-devel
mailing list