Heh, well, got it running on the device. Now the hardest part: how to make the buttons actually to do something :-P
connect(ui->pushButton, SIGNAL(clicked()), this, SLOT(hello()));
protected slots: void hello();
void MainWindow::hello() { //Do whatever should be done when pressing the button }