Friday, 23 August 2013

C++ Show OSX Permission Dialog

C++ Show OSX Permission Dialog

I am writing an application on OSX by using Qt C++ that needs root
privilege. I believe I can get these needed privilege by displaying a
dialog box prompting user name and password, something like this in XAMPP:

How this can be done? Am I have to build the form manually then use
setuid, or is there already built in function on the SDK?

No comments:

Post a Comment