On Thursday, 28 November 2019 12:30:05 PST Roman Wüger wrote:
> @thiago: it works with sudo when I do something like „sudo
> /Applications/MyBundle.app/Contents/MacOS/MyBundle“ but not if I try „sudo
> open /Applications/MyBundle.app“

Apparently, the "open" command doesn't pass on the increased privileges to the 
application it launches.

> Normally when I empty my trash, where an application was moved into the
> trash, then a dialog appears to enter the credentials of a privileged user.
> 
> I thought this can also be done with Qt - call a default dialog for this
> situation.

There's no such feature, especially not in the QtCore module. You have to code 
the privilege augmentation yourself.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products



_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to