improved cmake
cleanup of CMakeLists and converted to use Qt 5. Works on ubuntu with Qt 5.2 and cmake 2.8.12.