Skip to content

Building From Source (for dummies)

mrrhq edited this page Mar 13, 2016 · 11 revisions

Building Drawpile on Debian Sid:

apt-get install build-essential cmake git libkf5archive-dev libqt5svg5-dev qtmultimedia5-dev
mkdir ~/.local/src
cd ~/.local/src
git clone https://github.com/callaa/Drawpile.git
cd Drawpile
mkdir build && cd build
cmake ..
make
sudo make install # (Optional)


If you want to make the debug build, only build the server, or have built Qt, use cmake options:
cmake -DCMAKE_BUILD_TYPE=debug -DCLIENT=off -DCMAKE_PREFIX_PATH=/usr/local/Qt-5.3.1 -DCMAKE_INSTALL_RPATH:STRING="/usr/local/Qt-5.3.1/lib" ..