Skip to content

Instantly share code, notes, and snippets.

@jakecraige
Last active November 16, 2015 15:53
Show Gist options
  • Save jakecraige/50c122c8ae860f7595a4 to your computer and use it in GitHub Desktop.
Save jakecraige/50c122c8ae860f7595a4 to your computer and use it in GitHub Desktop.
QT5 on CircleCI
machine:
post:
- ./$CIRCLE_PROJECT_REPONAME/bin/ci/install_qt5.sh
#!/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
@seanpdoyle
Copy link

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