User Tools

Site Tools


en:building_from_git

Building from GIT

Requirements

sdk03

  • Qt4-dev 4.6;
  • libidn;
  • gnutls;
  • qca2;
  • FIXME: other.

xUbuntu users can do:

# add-apt-repository ppa:kubuntu-experimental

For the rest: Pre-compiled versions of the SDK are available at Nokia's web-site. The SDK is installed in /usl/local directory and does not affect the existing system Qt.

sdk02

  • Qt4-dev 4.4+;
  • Cmake >= 2.6;
  • qmake4;
  • FIXME.

Building qutim 0.3 from git

git clone git://gitorious.org/qutim/qutim-meta.git
cd qutim-meta
git submodule update --init --recursive
cd ..
mkdir build
cd build
cmake ../

In order to disable certain plugins, one should look at the cmake's output and append -DPLUGIN_NAME=0 to cmake command, for each plugin to be disabled i.e. if the QT version is < 4.7 -DCONNECTIONMANAGER=0 -DQMLPOPUPS=0 -DVKONTAKTE_PHOTOALBUM=0 should be added as they require QT 4.7

cmake ../ -DCONNECTIONMANAGER=0 -DQMLPOPUPS=0 -DVKONTAKTE_PHOTOALBUM=0
make

(or open .sln in MS Visual Studio, if buildin under Windows, an press F7).

  • ???
  • PROFIT

Some options

  • -DQUTIM_SINGLE_PROFILE - makes qutIM create a sigle (deafult) profile, when first started and not show the profile chooser dialog
  • -DQUTIM_COPY_PLUGINS_TO_BINARY_DIR - copies all plugins to ${QUTIM_BINARY_DIR}/plugins (QUTIM_BINARY_DIR must be set)
  • -DQUTIM_MOBILE_UI - turns on mobile devices optimization
  • -DQUTIM_GUI_TYPE - Allows setting the GUI type: WIN32 for Windows, which removes console, shown on start-up, and for Mac OS - MACOSX_BUNDLE, which creates the qutim.app bundle

Building qutim 0.2 from git

Core

git clone git://gitorious.org/qutim/qutim.git
cd qutim
git checkout origin/sdk02
git pull origin sdk02
cmake .
make -j3

Protocols

git clone git://gitorious.org/qutim/protocols.git
cd protocols
git checkout origin/sdk02
git pull origin sdk02
git submodule update --init

Then for each protocol the following should be done:

cd _protocol_name_
cmake .
make -j3

Plugins

git://gitorious.org/qutim/plugins.git
cd plugins
git checkout origin/sdk02
git pull origin sdk02

Then for each plugin the following should be done:

cd _plugin_name_
cmake .
make -j3
en/building_from_git.txt · Last modified: 2013/07/15 02:22 (external edit)