Skip to content

Instantly share code, notes, and snippets.

@andeplane
Last active September 27, 2017 09:52
Show Gist options
  • Save andeplane/1cb9db944050b6fd22093d8ecf3e6d01 to your computer and use it in GitHub Desktop.
Save andeplane/1cb9db944050b6fd22093d8ecf3e6d01 to your computer and use it in GitHub Desktop.
sudo apt-get -y build-dep qt5-default
sudo apt-get -y install libxcb-xinerama0-dev
sudo apt-get -y install build-essential perl python git
sudo apt-get -y install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev
sudo apt-get -y install flex bison gperf libicu-dev libxslt-dev ruby
sudo apt-get -y install libssl-dev libxcursor-dev libxcomposite-dev libxdamage-dev libxrandr-dev libfontconfig1-dev libcap-dev libxtst-dev libpulse-dev libudev-dev libpci-dev libnss3-dev libasound2-dev libxss-dev libegl1-mesa-dev gperf bison
git clone git://code.qt.io/qt/qt5.git
cd qt5
git checkout 5.9
perl init-repository --codereview-username anderhaf --module-subset=default,qtcharts,qtdatavis3d,-qtwebkit,-qtwebkit-examples,-qtwebengine,-qtwebview
./configure -developer-build -opensource -nomake tests -nomake examples -confirm-license -no-pch
make module-qt3d module-qtquickcontrols module-qtquickcontrols2 module-qtdatavis3d module-qtcharts -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment