1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/simple_make.sh
niXman 7b13bc88fe Update simple_make.sh
in Ubuntu `libqrencode-dev` should be used for `qrencode.h` header.
2015-03-19 22:40:45 +02:00

18 lines
743 B
Bash
Executable File

#! /bin/bash
if which apt-get; then
sudo apt-get install build-essential qt5-qmake qt5-default libopenal-dev libopencv-dev \
libtool autotools-dev automake checkinstall check libopus-dev libvpx-dev qttools5-dev-tools qtchooser libxss-dev libqt5svg5* libqrencode-dev
elif which pacman; then
sudo pacman -S --needed base-devel qt5 opencv openal opus libvpx libxss qt5-svg qrencode
elif which yum; then
sudo yum groupinstall "Development Tools"
sudo yum install qt-devel qt-doc qt-creator opencv-devel openal-soft-devel libtool autoconf automake check check-devel libXScrnSaver-devel qt5-qtsvg qrencode
else
echo "Unknown package manager, attempting to compile anyways"
fi
./bootstrap.sh
qmake
make