Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Compiling

Symeon Huang edited this page Feb 8, 2015 · 21 revisions

Dependencies

Make sure you've installed all dependent development packages (with -dev or -devel).

  • qt5-qtbase >= 5.2 (qtbase5 in Debian/Ubuntu)
  • qrencode (libqrencode in Debian/Ubuntu)
  • libQtShadowsocks >= 1.4.0 (libqtshadowsocks in Debian/Ubuntu)
  • botan >= 1.10 (libbotan1.10 in Debian/Ubuntu)
  • zbar (libzbar0 in Debian/Ubuntu)
  • libappindicator1 (optional, only if you want to build with appindicator support)

Compiling

qmake INSTALL_PREFIX=/usr
make
make install

Some useful special arguments for qmake command

Arguments Usage Default Value
INSTALL_PREFIX="/usr" Specify the installation prefix directory /usr
BOTAN_VER="1.10" Specify the botan library version 1.10
DEFINES+="UBUNTU_UNITY" Turn on Ubuntu Unity support (use appindicator) NULL
DEFINES+="mingw64" Use pre-compiled libraries from mingw64 instead of mingw32 (only for Windows) NULL
Clone this wiki locally