|
2010-07-26
, 19:53
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#2
|
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:
Could anyone help me, with my Problem ?Code:void MainWindow::on_applypush_clicked() { QStringList combo; combo << ui->comboBox->currentText(); QProcess *process = new QProcess(this); process->start("./sbin/xicon", combo); }
The Following User Says Thank You to d-iivil For This Useful Post: | ||
|
2010-07-26
, 20:21
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#3
|
The Following User Says Thank You to Joorin For This Useful Post: | ||
|
2010-07-26
, 20:22
|
Posts: 18 |
Thanked: 2 times |
Joined on Apr 2010
@ Germany
|
#4
|
#! /bin/sh -e
sudo zicon
|
2010-07-27
, 02:15
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#5
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
2010-07-28
, 00:37
|
|
Posts: 135 |
Thanked: 375 times |
Joined on Mar 2010
@ Hong Kong
|
#6
|
The Following User Says Thank You to benlau For This Useful Post: | ||
|
2010-07-28
, 03:43
|
Posts: 18 |
Thanked: 2 times |
Joined on Apr 2010
@ Germany
|
#7
|
|
2010-08-01
, 15:54
|
Posts: 18 |
Thanked: 2 times |
Joined on Apr 2010
@ Germany
|
#8
|
dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce "/com/nokia/mce/request" com.nokia.mce.request.req_reboot
The Following User Says Thank You to Dr.Heyde For This Useful Post: | ||
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: