Build system

Use CMake just like other repositories, it wasn't a good idea to use
qmake.