Last active
November 16, 2015 15:53
-
-
Save jakecraige/50c122c8ae860f7595a4 to your computer and use it in GitHub Desktop.
QT5 on CircleCI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
post: | |
- ./$CIRCLE_PROJECT_REPONAME/bin/ci/install_qt5.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Based on: https://gist.github.com/ryanong/ad6e7570e3f72b22c0e4 | |
# Exit if any subcommand fails | |
set -e | |
if [ ! -d "/opt/qt55" ]; then | |
echo "Installing QT 5..." | |
yes y | sudo add-apt-repository ppa:beineri/opt-qt551 | |
sudo apt-get update | |
sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/beineri-opt-qt551-precise.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" | |
sudo apt-get install qt55webkit libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev qt55declarative qt55location qt55sensors | |
echo "QT 5 installed." | |
fi | |
echo "source /opt/qt55/bin/qt55-env.sh" >> ~/.circlerc |
Command '/usr/lib/x86_64-linux-gnu/qt5/bin/qmake ' not available
when does this file get created?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@JakeCraig
Unfortunately, I'm still failing: