[Qgis-developer] Lib_Refactoring-branch merged

Martin Dobias wonder.sk at gmail.com
Mon Jan 8 22:23:52 EST 2007

Hi all,

I'm pleased to announce that after many months all the changes from
refactoring branch were merged to SVN trunk (revision 6415).

As mentioned in previous thread, you should use new build system based
on CMake. That means that first of all you need it on your system -
version 2.4.3 or later is required. The only dependency of CMake is
C++ compiler so you don't have to worry about its dependencies.

(don't try to use 'configure' or 'autogen.sh' scripts - autotools
support is currently broken)

The preferred way how to compile it:

1. configuration: cmake allows keep all build-specific files in a
separate directory. You can use e.g. directory called 'build' and run
cmake there.
mkdir build
cd build
cmake ..

If you have luck, cmake will detect everything for you. Otherwise
you'll need to run configuration utility.
- ccmake on linux/unix
- cmakesetup on windows
You have to pass it a directory as an argument where it should
operate. So if you're in the 'build' directory, just use: cmake .

There are several variables to tweak in configuration utility, you
might be especially interested in these ones:
- CMAKE_INSTALL_PREFIX - where to install it
- CMAKE_BUILD_TYPE - whether to build Release or Debug version

When everything is configured, just use make and make install as usually.

To run QGIS, probably you'll need to set path to the qgis libraries, e.g.:
export LD_LIBRARY_PATH=/home/wonder/qgis/lib

These instructions should suffice for basic setup - build system is
not yet fully mature so you maybe hit some problems. Please report
them to this mailing list and we'll try to help you.


More information about the Qgis-developer mailing list