Add a proper build system

Also lowers the minimum required Qt version to 5.5.