Compile Qt5 with clang

Get Qt5

git clone git://gitorious.org/qt/qt5.git
cd qt5
./init-repository
git pull

Compile with CLang

./configure -prefix /opt/qt5 -platform linux-clang
make -j4

Notes

I use clang-3.2 (2013-03-23). Compilation seems quite faster than g++. Code seems better optimised too (about 70% faster, based on unrelated heavily numeric code performance tests).