Allow Qt5 builds.

The CmakeLists.txt files have been modified to allow the Qt code
  to be built using Qt5.

Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>