port to Qt 5.2.0 and gcc 4.8