Gui freezes, needs to be fixed with non blocking QProcess and asynchronous event handing. See: https://github.com/koppi/gcoder/blob/master/mainwin.cpp#L121-L123