Created
July 19, 2012 16:08
-
-
Save rcarmo/3144978 to your computer and use it in GitHub Desktop.
dbcm's Qt5 brew
This file contains hidden or 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 | |
# install cross-compiler | |
# sudo apt-get install gcc-arm-linux-gnueabihf | |
# cd ~/Development | |
# git clone git://gitorious.org/qt/qt5.git qt5 | |
apt-get update | |
apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev \ | |
libedit-dev \ | |
flex bison gperf libicu-dev libxslt-dev libsqlite3-dev libsqlite3-0 \ | |
libfontconfig1-dev libdbus-1-dev libfreetype6-dev libudev-dev | |
unset QTDIR | |
export PATH="$PWD/qtbase/bin;$PWD/qtrepotools/bin/$PATH" | |
cd qt5 | |
./init-repository | |
git pull | |
git submodule update --recursive | |
./configure \ | |
-opensource \ | |
-confirm-license \ | |
-v \ | |
-optimized-qmake \ | |
-reduce-relocations \ | |
-reduce-exports \ | |
-make libs \ | |
-no-gtkstyle \ | |
-release | |
# -developer-build \ | |
# -device linux-rasp-pi-g++ \ | |
# -directfb | |
./build -j 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment