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. Ho to set "run as administator"
Forum Updated to NodeBB v4.3 + New Features

Ho to set "run as administator"

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 962 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.
  • M Offline
    M Offline
    marco d
    wrote on last edited by
    #1

    HI all,

    i want to set flag "run as administrator" of my exe by code or by file bath.

    is possible?

    thanks

    1 Reply Last reply
    0
    • L Offline
      L Offline
      L.MCH
      wrote on last edited by
      #2

      You have to set the application manifest as described here:
      "http://www.qtcentre.org/threads/46917-How-to-run-application-in-qt-as-administrator":http://www.qtcentre.org/threads/46917-How-to-run-application-in-qt-as-administrator

      1 Reply Last reply
      0
      • M Offline
        M Offline
        marco d
        wrote on last edited by
        #3

        [quote author="L.MCH" date="1411122965"]You have to set the application manifest as described here:
        "http://www.qtcentre.org/threads/46917-How-to-run-application-in-qt-as-administrator":http://www.qtcentre.org/threads/46917-How-to-run-application-in-qt-as-administrator[/quote]

        Hi L.MCH

        sorry but doesn/t work
        i have written in visual studio under property and UAC execution level=requireAdministrator and UAC bypass UI protection =true but my program doesn't start.
        if i flag "run as administrator" starts

        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