Install qt5-svg in travis

pull/1/head
Konstantinos Sideris 7 years ago
parent 2c9aa72d13
commit b67024149c
  1. 4
      .ci/install.sh
  2. 1
      .ci/script.sh
  3. 5
      .travis.yml
  4. 4
      README.md

@ -20,16 +20,16 @@ if [ $TRAVIS_OS_NAME == linux ]; then
if [ -z "$QT_VERSION" ]; then
QT_VERSION="592"
QT_PKG="59"
fi
export QT_PKG=${QT_VERSION:0:2}
sudo add-apt-repository -y ppa:beineri/opt-qt${QT_VERSION}-trusty
sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
sudo apt-get update -qq
sudo apt-get install -qq -y \
qt${QT_PKG}base \
qt${QT_PKG}tools \
qt${QT_PKG}svg \
qt${QT_PKG}multimedia \
cmake \
liblmdb-dev

@ -3,7 +3,6 @@
set -ex
if [ $TRAVIS_OS_NAME == linux ]; then
QT_PKG=${QT_VERSION:0:2}
source /opt/qt${QT_PKG}/bin/qt${QT_PKG}-env.sh || true;
fi

@ -19,7 +19,8 @@ matrix:
env:
- CXX_COMPILER=g++-7
- C_COMPILER=gcc-7
- QT_VERSION=592
- QT_VERSION="-5.10.1"
- QT_PKG=510
- DEPLOYMENT=1
addons:
apt:
@ -31,6 +32,7 @@ matrix:
- CXX_COMPILER=g++-7
- C_COMPILER=gcc-7
- QT_VERSION=571
- QT_PKG=57
addons:
apt:
sources: ["ubuntu-toolchain-r-test"]
@ -41,6 +43,7 @@ matrix:
- CXX_COMPILER=clang++-5.0
- C_COMPILER=clang-5.0
- QT_VERSION=592
- QT_PKG=59
addons:
apt:
sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-trusty-5.0"]

@ -89,7 +89,7 @@ Debian as the build host in an attempt to work around this [issue](https://githu
##### Arch Linux
```bash
sudo pacman -S qt5-base qt5-tools qt5-multimedia cmake gcc fontconfig lmdb
sudo pacman -S qt5-base qt5-tools qt5-multimedia qt5-svg cmake gcc fontconfig lmdb
```
##### Gentoo Linux
@ -105,7 +105,7 @@ sudo add-apt-repository ppa:beineri/opt-qt592-trusty
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo add-apt-repository ppa:ubuntu-toolchain-r-test
sudo apt-get update
sudo apt-get install -y g++-7 qt59base qt59tools qt59multimedia cmake liblmdb-dev
sudo apt-get install -y g++-7 qt59base qt59svg qt59tools qt59multimedia cmake liblmdb-dev
```
##### macOS (Xcode 8 or later)

Loading…
Cancel
Save