-
Notifications
You must be signed in to change notification settings - Fork 69
Compile Qt5 with clang
2013-03-23. Today I ported the QGit code base to Qt5. Here are the few issues that needed solving.
This required 4 hours of work (including the time to compile the latest Qt5 git clone).
The work of the Qt5 team is absolutely marvelous when it comes to backward compatibility. I am especially grateful for the excellent documentation. Granted, the QGit codebase is rather small, but anyways, the porting effort was minimal (and definitely easy). This is also a tribute to the good coding practices used by M. Costalba and our past and current collaborators.
The ported code is available from the official git repository, in the branch compile_with_qt5.
h2. Get Qt5
git clone git://gitorious.org/qt/qt5.git
cd qt5
./init-repository
git pull
./configure -prefix /opt/qt5 -platform linux-clang
make -j4
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).