qdbus on windows

Peter Kümmel syntheticpp at gmx.net
Tue Jul 11 18:57:35 CEST 2006


How should we handle qdbus for windows?

Currently qdbus depends on dbus and kdewin32.

The kdewin32 dependency could be removed, because
only getopt from unistd.h is needed by the tools.

Does Trolltech plan to remove the dependency on unistd.h?
The simples way is a copy paste from kdewin32, but I think
there is a better Qt-way for this.

And how should we build qdbus on windows? Is it possible to
have a qmake build-process which ships with Qt and only
depends on a enviroment variable for dbus?
Something like this in tools/qdbus/src/src.pro:

win32 {
    INCLUDEPATH += . $$(DBUSDIR)/include
    LIBS += $$(DBUSDIR)/lib/dbus-1.lib ws2_32.lib advapi32.lib netapi32.lib
}

Is it OK when I change the qt-copy files?

Peter


More information about the Kde-buildsystem mailing list