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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes