Thread
:
Run a shell script in a own QT-Application
View Single Post
Dr.Heyde
2010-07-26 , 20:22
Posts: 18 | Thanked: 2 times | Joined on Apr 2010 @ Germany
#
4
Hi & Thx 4 Reply D-livil
1st.: i start script 1 with following inserts :
#! /bin/sh -e
sudo zicon
Sript 2(zicon) is the "real" shell.
So, yes...it`s start as root
Im really new to Qt so, sorry for my bad knowledge *g
Is'it working if i make the execution (chmod a+x /sbin/xicon) in a linux system an copy the Files to the place ?
Or have i to go another Way?
Kind Regards
€dit: I remove the "."
€dit2: It dosent work for me
and hmm, how do i start the qt app.....i start it with the button *gg*
how i said....im really ,really new to qt an i'm very thankfully for every tip !
here's my cpp + h... have i anything forgotten ?
http://pastie.org/1061122
http://pastie.org/1061127
Last edited by Dr.Heyde; 2010-07-26 at
21:03
.
Quote & Reply
|
Dr.Heyde
View Public Profile
Send a private message to Dr.Heyde
Find all posts by Dr.Heyde