Hello,

I want to use a GSM terminal to send voice mail from a Lubuntu PC. I use Qt to create a program.
I also use the same program to send SMS. That works fine.
In the Qt program I want to start a QProcess to start a sound file to send to a GSM terminal. To call a phone works well, but I am not able to send a sound file to the Audio output.
The bash program that start and play the sound file works well from the terminal. Then the sound file is sent to the Audio output. But when I start the bash program via QProcess, the audio output is not used.
How can I redirect the sound file to the Audio output using QProcess and the bash program?