Updates for building with Qt5.  Sample build command:

cmake -DCMAKE_PREFIX_PATH=${MY_QT5_DOWNLOAD_DIR}/qt-everywhere-opensource-src-5.0.1/qtbase -DBOOST_ROOT=${MY_BOOST_DOWNLOAD_DIR}/boost_1_52_0 ..

Some observations:
1) CMake's AUTOMOC feature does not work for me (2.8.9) but QT5_WRAP_CPP exists, so that's OK
2) Default QPen width is now 1 instead of 0, which caused a test failure

Otherwise the upgrade was fairly smooth.