[Qt-interest] help needed: How I obtain root user access in my QT application? (Ubuntu Platform)

shafiul azam ishafiul at gmail.com
Thu May 27 11:22:33 CEST 2010


In my QT application, I need to execute some commands which need root
access. When I execute them with QProcess, it says access denied.

How to solve the problem? i.e How i can execute commands like "sudo
nautilus" ?

Many GUI applications in Ubuntu/linux prompt for root access (prompts for
user password) when they starts-up. If I need to implement it automatically
in my application, (i.e when a user double-clicks on my application icon it
will prompt for root user access) what to do?

Please help with solution and ideas :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100527/24354ef5/attachment.html 


More information about the Qt-interest-old mailing list