Thu Oct 07, 2021 6:43 pm
I've been fumbling my way through creating my own Launcher widget with zero existing QML knowledge, and have got it near enough finished. It's just a list of text objects with onClicked: triggers on each. Although, of all things, I seem to be having the most trouble with actually making it launch things.
I have a single button per app, I don't intend on adding a configuration menu or anything. I just want each button to start its own app. I've tried KRun.openUrl but it can't launch .desktop files, and haven't been able to find any alternatives past that.
Any easy way to just launch an app off an onClicked: trigger?
A segment of code for one button, if it's needed:
edit: Found and tried Qt.openUrlExternally, opens folders fine but irritatingly won't execute .desktop files for security apparently...
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]