Qt 5 Upgrade

This page is obsolete but has been retained for historical purposes.

Dependences

QT 5 requires libicu (a unicode lib) for WebKit Support. libicu doesn't appear to exist on many of our HPC systems.

Building libiuc

ICU project site

Windows MinGW build instructions

Linux build instructions:

Qt won't link successful against a static version of libicu b/c it does not explicitly link all the dependant libs.

wget http://download.icu-project.org/files/icu4c/49.1.2/icu4c-49_1_2-src.tgz
tar -xzf  icu4c-49_1_2-src.tgz 
cd icu/source
./configure --prefix=/install/path/icu/49.1.2/
make -j 8
make install

Building Qt

To point Qt's build system to your non-system libicu, use the -I and -L configure flags:

cd qt-everywhere-opensource-src-5.0.0
./configure -opensource -confirm-license \
  -I/install/path/apps/icu/49.1.2/include/ \
  -L/install/path/apps/icu/49.1.2/lib/ \
  -R/install/path/apps/icu/49.1.2/lib/ \
  -qt-xcb \
  --prefix=/install/path/apps/Trolltech/Qt-5.0.0/