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 Jun 14, 2016 · 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.9.0 (libqtshadowsocks in Debian/Ubuntu. DON'T use the trunk code)
  • botan >= 1.10 (libbotan1.10 in Debian/Ubuntu)
  • zbar (libzbar0 in Debian/Ubuntu)
  • libappindicator (libappindicator1 in Debian/Ubuntu)

Check libQtShadowsocks Compiling wiki if you need to build it yourself.

Compiling

GNU/Linux

qmake INSTALL_PREFIX=/usr
make
make install

Mac OS X

Check libQtShadowsocks Building on Mac OS X page before you proceed.

Requirements

Dependencies

brew update
brew install libqrencode zbar

Installation

qmake INSTALL_PREFIX=/usr/local
make
make install

To create an Xcode project, use qmake -spec macx-xcode

Special Arguments for qmake

Arguments Usage Default Value
INSTALL_PREFIX="/usr" Specify the installation prefix directory /usr
BOTAN_VER="1.10" Specify the botan library version 1.10
Clone this wiki locally