View Single Post
Posts: 18 | Thanked: 2 times | Joined on Apr 2010 @ Germany
#1
Hi there,

i've written a qt app with the QT Creator...just a simple one.
For testing only, i've add a combobox and a "Apply" Button.

The Button should run a shell script, which should do something.
(with Variable from the combobox).

My Problem is, that nothing happend, when i push the Button

The part of the Button looks so:

Code:
void MainWindow::on_applypush_clicked()
{
    QStringList combo;
    combo << ui->comboBox->currentText();
    QProcess *process = new QProcess(this);
    process->start("./sbin/xicon", combo);
}
Could anyone help me, with my Problem ?