Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cross Platform Privilege Elevation programattically
Qt 6.11 is out! See what's new in the release blog

Cross Platform Privilege Elevation programattically

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    abiusx
    wrote on last edited by
    #1

    Hello,

    I was thinking is there a way to request Escalation through application, Specially in Mac OS X and Windows?

    It is mandatory for a set of functions to work, Like getting default network interface, And there seems to be no way to do that.

    Regards
    AbiusX

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      I think, this has to be done on each platform with the platform specific API's, how evere they work :-)

      AFAIK, there is no Qt way to do that.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • A Offline
        A Offline
        abiusx
        wrote on last edited by
        #3

        Well i figured that out, but was hoping this get added to Qt Core.

        I suppose that's why we have frameworks like Qt, to wrap platform specific APIs for us as best as it can happen.

        And I also don't know how to use Mac OS X APIs inside Qt!

        1 Reply Last reply
        0
        • G Offline
          G Offline
          giesbert
          wrote on last edited by
          #4

          The same way as windows API's i think :-)
          And as far as it's a windows / MAC specific thing only, and not common use, I don't think it will get it in QtCore. But you can make a suggestion in "Jira":http://bugreports.qt.nokia.com and paste the link here. If enough people vote for it, perhaps it will get in (although I don't think so).

          Nokia Certified Qt Specialist.
          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved