Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61918

QProcess::startElevated and QProcess::startDetachedElevated for starting a subprocess with root/administrator privileges

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Core: Other
    • None

      Currently there is no cross-platform way in Qt to launch a process with admin/root privileges. I've spent a whole day trying to launch an elevated supbrocess through QProcess on Windows and I still haven't figured it out. A dedicated method like QProcess::startElevated (and accompanying static method QProcess::startDetachedElevated) would be a huge help.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            pmts P M
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes