|
|
02-23-2010
, 07:11 AM
|
|
|
Posts: 85 |
Thanked: 64 times |
Joined on Jan 2010
@ Ireland
|
#3
|
Hi,
haven't used it by myself, but I think QProcess is what you are looking for.
Daniel
|
|
02-23-2010
, 07:13 AM
|
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#4
|
Thanks Daniel,
I meant to update this thread today.
I tried system("espeak 'Hello shep'") and that seemed to work. I don't know how though!
Shep
| The Following 2 Users Say Thank You to krk969 For This Useful Post: | ||
|
|
02-23-2010
, 07:29 AM
|
|
|
Posts: 85 |
Thanked: 64 times |
Joined on Jan 2010
@ Ireland
|
#5
|
QProcess is far more advanced than the system() call.
You could make use of the various signals that QProcess generate and also fork a process etc.
If all you want to do is execute a script and wait till it finished you can use the C++ system() function and you should be fine.

|
|
06-30-2012
, 12:29 PM
|
|
|
Posts: 436 |
Thanked: 215 times |
Joined on Aug 2010
@ MLB.AU
|
#6
|
is there a build of xsel.. i want to pipe selected text to espeak
![]() |
| Thread Tools | Search this Thread |
|
I'd like to use espeak to announce things in my app, but I dunno how to go about calling it from QT?
I have looked through the QT APIs and I cannot see something that allows interaction with the command line, but I imagine I'm way wrong
Any ideas?
Shep
- Hey! I also do other stuff Touchscreen apps for Windows and Android
- Currently developing a Diet Assistant/Weight Tracker for the N900