Fully functional qt compilation.
Runs GUI if no arguments is given, else it runs a command line interface.