QT5

From Wildsong
Jump to navigationJump to search

Currently you have to build QT5 from sources.

How to: http://qt-project.org/wiki/Building-Qt-5-from-Git

Shortcut version

On Ubuntu 12.04

sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev
sudo apt-get install libedit-dev
sudo apt-get install bison flex gperf
sudo apt-get install libicu-dev
cd src
git clone https://git.gitorious.org/qt/qt5.git qt5
cd qt5
unset QTDIR
export PATH="$PWD/qtbase/bin:$PWD/qtrepotools/bin:$PATH"
./configure -developer-build -opensource -nomake examples -nomake tests
perl init-repository
export QMAKEPATH=/home/bwilson/src/qt5/qtwebkit/Tools/qmake/
make

Would not build so I waited a few weeks and then...

2012-Jul-15

cd qt5
git pull
unset QTDIR
./configure -developer-build -opensource -nomake examples -nomake tests
./build -j 3

Success! Good things come to he who waits.

Next?