This repository has been archived by the owner on Dec 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Compiling
Symeon Huang edited this page Jun 14, 2016
·
21 revisions
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.
qmake INSTALL_PREFIX=/usr
make
make install
Check libQtShadowsocks Building on Mac OS X page before you proceed.
- Xcode & Command Line Tools
- Homebrew
brew update
brew install libqrencode zbar
qmake INSTALL_PREFIX=/usr/local
make
make install
To create an Xcode project, use qmake -spec macx-xcode
Arguments | Usage | Default Value |
---|---|---|
INSTALL_PREFIX="/usr" | Specify the installation prefix directory | /usr |
BOTAN_VER="1.10" | Specify the botan library version |
1.10 |