I'm developing a Qt application which includes the following block of code to play sound
QString soundApp = "/usr/bin/aplay";
soundFile << "/home/pi/urna-files/sources/som-longo.wav";
QProcess *playSound = new QProcess;
Description=Voting Machine Launch Service
The process probably needs to be run as the user "pi".
That can be done in the