Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QString soundApp = "/usr/bin/aplay";
- QStringList soundFile;
- soundFile << "/home/pi/urna-files/sources/som-longo.wav";
- QProcess *playSound = new QProcess;
- playSound->start(soundApp, soundFile);
- [Unit]
- Description=Voting Machine Launch Service
- [Service]
- ExecStart=/home/pi/urna
- Restart=always
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment