Current status of kde4/win32?

Peter Kümmel syntheticpp at gmx.net
Sun Jul 9 11:25:39 CEST 2006


Christian Ehrlicher wrote:
> Hi,
> 
> after a long time I want to give kde4/win32 a try. What do I need to get
> kdelibs compile with msvc?
> qt 4.1.x + patches or 4.2.0-tp1 ?
> cmake 2.4.2 or a special kde version ?
> what about dbus - what do I have to do here?
> 
> 
> Christian

Welcome back in the life after the championship Christian!

There is a patched qt-4.2 snapshot in qt-copy,
kdelibs is now in trunk/kdesupport,
http://websvn.kde.org/trunk/kdesupport/?rev=560090
qdbus makes some trouble because it is removed from kde-svn
and the does not compile out of the box with qt.
for dbus there are Ralf's files
http://webdev.cegit.de/snapshots/kde-windows/dbus-win/
which don't compile with msvc out of the box:
To compile with msvc, add to config.h.cmake

#ifdef _MSC_VER
#define snprintf _snprintf
#define strtoll _strtoi64
#define strtoull _strtoui64
#endif


and change in CMakeLists.txt line 45

- include_directories( ${CMAKE_INCLUDE_PATH} )
+ include_directories( ${CMAKE_INCLUDE_PATH} ${KDEWIN32_INCLUDES})


and to fix the remaining linker errors add

#include <config.>

to dbus-send.c dbus-monitor.c


I've also done a first step to merge Ralf's files
with freedesktops cvs version,
http://lists.freedesktop.org/archives/dbus/2006-July/005076.html
and have created a sourceforge project where we can host the
files in a svn repository until the merge- winDBus:
http://sourceforge.net/projects/windbus/

I think atm the most important thing is to get a working and
installable dbus version.

Peter




More information about the Kde-windows mailing list