Getting Started/Build/Windows/Building KDESupport Libraries

< Getting Started‎ | Build‎ | Windows
Revision as of 17:55, 19 July 2007 by Jstaniek (Talk | contribs)

Jump to: navigation, search

You'll need some libs which are located in They are all compilable with cmake.



kdewin32 is a support library required specifically for Windows in order to be able to build KDElibs.

We will refer to {KDE_SOURCE_DIR} as to a directory of your choice where you want to keep KDE source code and its "build" directories. You need enough of disk space for this. Do not use paths with spaces to avoid potential problems.

svn co -N svn://

Note: if you want to use your KDE SVN account with write access type this instead: svn --username={yourname} co -N Use the --username and https address for every command mentioned below too.

cd trunk
svn up -N kdesupport
cd kdesupport
svn up kdewin32
mkdir kdewin32-build
cd kdewin32-build
 -G"Visual Studio 8 2005" ..\kdewin32

(use -G"Visual Studio 7 .NET 2003" for the older compiler, and replace Debug by Release for release build)

kdewin32.sln solution file will be created. Build and install' the Debug and Release builds with the IDE. Tip: to do this from command line, type:

devenv /build Debug /project INSTALL kdewin32.sln
devenv /build Release /project INSTALL kdewin32.sln

Note: Whenever you update your checkout don't forget to rebuild and reinstall kdewin32.


strigi is required by kdelibs:

cd kdesupport
svn up strigi
mkdir strigi-build
cd strigi-build
 -G"NMake Makefiles" ..\strigi
nmake install


Soprano is also needed, it depends on 'redland' library which is available through the kdewin installer. Development versions of KDElibs now require soprano both in release and debug versions, so we're using two build directories: soprano-build and soprano-build-rel.

cd kdesupport
svn up soprano
mkdir soprano-build
cd soprano-build
 -G"NMake Makefiles" ..\soprano
nmake install
cd ..
mkdir soprano-build-rel
cd soprano-build-rel
 -G"NMake Makefiles" ..\soprano
nmake install


qca2 is needed to compile some apps (e.g. Kopete)

cd qca2
svn up qca2
mkdir qca2-build
cd qca2-build
 -G"NMake Makefiles" ..\qca2
nmake install

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal