You might wrap you qml app into a shell script. Pipe the input of a crontab file to your app and pipe the output back to the crontab file and call crontab, e.g.:
cat MyCrontab.txt | xargs myQmlAlaramApp > MyCrontab.txt
crontab MyCrontab.txt
Inside qml access the argument string via:
Text {
text: Qt.application.arguments[1]
↧