I'm not really good at Qt and have no much knowledge in Ubuntu, but here is what I do: I launch gnome-terminal and then I start my *.sh file from it. How to do it from Qt? I've made:
QProcess *proc = new QProcess;
proc->start("gnome-terminal");
proc->write("build.sh\n");
But just terminal is opening and nothing happens, I can mannualy input command, but I need to do it from QProcess.