Changed CMake files and #includes to allow Qt5 while still being backwards compatible with Qt4. Add Qt5 (qtbase) directory to CMAKE_PREFIX_PATH to use Qt5.