Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A collaborative drawing program

Add LayerCopy implementation

This feature is not yet exposed in the UI.
latest commit 5283e76141
Calle Laakkonen authored

README.md

Drawpile - a collaborative drawing program

Drawpile is a drawing program with a twist: you can share your drawing live with other people.

Some feature highlights:

  • Shared canvas using the built-in server or a dedicated server
  • Record, play back and export drawing sessions
  • Layers and blending modes
  • Text layers
  • Supports pressure sensitive Wacom tablets
  • Built-in chat
  • Supports OpenRaster file format
  • Encrypted connections using SSL

Building with cmake

Client dependencies:

Server dependencies:

  • Qt 5.0 or newer (QtCore and QtNetwork only)
  • KF5 KArchive
  • libsystemd (optional)
  • libmicrohttpd (optional)

It's a good idea to build in a separate directory to keep build files separate from the source tree.

Example:

$ mkdir build
$ cd build
$ cmake ..
$ make

The executables will be generated in the build/bin directory. You can run them from there, or install them with make install.

The configuration step supports some options:

  • CLIENT=off: don't build the client (useful when building the stand-alone server only)
  • SERVER=off: don't build the stand-alone server.
  • TOOLS=on: build dprec2txt command line tool
  • CMAKE_BUILD_TYPE=debug: enable debugging features
  • INITSYS="": select init system integration (currently only "systemd" is supported.) Set this to an empty string to disable all integration.
  • BUILTIN_ICONS=off: don't include icons in the executable

Example: $ cmake .. -DDEBUG=on

When compiling on Windows, cmake may complain about missing zlib. Setting the zlib path explicitly on the command line will solve this. For example:

-DZLIB_LIBRARY:FILEPATH="C:\Qt\Tools\mingw48_32\lib\libz.a" -DZLIB_INCLUDE_DIR:PATH="C:\Qt\Tools\mingw48_32\include"

On MacOS, you may need to set CMAKE_PREFIX_PATH to point to your Qt installation. For example:

$ cmake .. -DCMAKE_PREFIX_PATH=~/Qt/5.3/clang_64

Running make will generate an app bundle in the bin subdirectory of your build directory. Run macdeployqt on it to package all dependencies inside for distribution.

Something went wrong with that request. Please try again.