I am developing a software in Qt in which I created a terminal. I run different commands through QProcess
in that but when I run root commands it ask for password in terminal. I tried to run via sudo
but it only accepts password in terminal. Is there any way to give password from another source like pop up widget or a text file?