Port to Qt5

This upgrades the project so that it will now build under Qt 5.0