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. New project giving requires elevated permissions when run on Windows 10
Qt 6.11 is out! See what's new in the release blog

New project giving requires elevated permissions when run on Windows 10

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 4 Posters 1.9k 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.
  • C Offline
    C Offline
    crwper
    wrote on last edited by
    #1

    I have written a number of applications in the past using Qt 5.5.1 MinGW without troubles. However, I've just started a new application which isn't much past the "blank MainWindow" phase, but when I build the Release version, two things happen:

    • The icon has the small blue and gold "shield" in the lower-right corner which I believe indicates that the application requires administrator access). When I run the program, I get the usual prompt for elevated permissions.
    • When I run the application then close it, sometimes I see a message that "This program might not have installed correctly".

    I've tried creating a new, blank application, then building a Release version straight away, and I get the same issue. What could be going on here?

    Michael

    aha_1980A 1 Reply Last reply
    0
    • C crwper

      I have written a number of applications in the past using Qt 5.5.1 MinGW without troubles. However, I've just started a new application which isn't much past the "blank MainWindow" phase, but when I build the Release version, two things happen:

      • The icon has the small blue and gold "shield" in the lower-right corner which I believe indicates that the application requires administrator access). When I run the program, I get the usual prompt for elevated permissions.
      • When I run the application then close it, sometimes I see a message that "This program might not have installed correctly".

      I've tried creating a new, blank application, then building a Release version straight away, and I get the same issue. What could be going on here?

      Michael

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by aha_1980
      #2

      @crwper

      I had your first problem when I runned a program named ...update... on Windows 7. names like 'install' also seem problematic.

      make sure this is not your prob.

      for the second one, i guess he does not find libraries, maybe because of the first prob.

      Qt has to stay free or it will die.

      1 Reply Last reply
      4
      • C Offline
        C Offline
        crwper
        wrote on last edited by
        #3

        That's hilarious. My program is called "updater". If I rename it to "test", the badge goes away and the program runs normally. Thanks!!!

        Michael

        mrjjM 1 Reply Last reply
        2
        • C crwper

          That's hilarious. My program is called "updater". If I rename it to "test", the badge goes away and the program runs normally. Thanks!!!

          Michael

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @crwper
          ahah, yep, i had same issue with an app call setup.

          JonBJ 1 Reply Last reply
          4
          • mrjjM mrjj

            @crwper
            ahah, yep, i had same issue with an app call setup.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            OMW, in view of you guys' posts, Windoze sounds to me like it just gets better & better :)

            [P.S. OT: Anyone notice today that Microsoft has just bought GitHub....?]

            mrjjM 1 Reply Last reply
            0
            • JonBJ JonB

              OMW, in view of you guys' posts, Windoze sounds to me like it just gets better & better :)

              [P.S. OT: Anyone notice today that Microsoft has just bought GitHub....?]

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              @JonB
              In fact it does. Windows 10 is most stable OS i have ever used.
              Never crashed on me even when testing custom drivers.

              Under MS new command, they have become very open source friendly.
              You can install a complete linux subsystem and run most/tons of linux stuff
              out of the box.

              So unlike in old times, them buying GitHub, could be positive/ not an issue.

              But the start menu in windows 10 is a joke. Even after its return in new form.
              Even not a particular windows fan, calling it windoze is very 80-ish :)
              Much have changed since XP days.

              JonBJ 1 Reply Last reply
              2
              • mrjjM mrjj

                @JonB
                In fact it does. Windows 10 is most stable OS i have ever used.
                Never crashed on me even when testing custom drivers.

                Under MS new command, they have become very open source friendly.
                You can install a complete linux subsystem and run most/tons of linux stuff
                out of the box.

                So unlike in old times, them buying GitHub, could be positive/ not an issue.

                But the start menu in windows 10 is a joke. Even after its return in new form.
                Even not a particular windows fan, calling it windoze is very 80-ish :)
                Much have changed since XP days.

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #7

                @mrjj
                For Windows 8, I immediately replaced Start Menu with the free Classic Start Menu, best thing I ever did, made it like Win 7 and it made OS useable, you can also make it XP if you like that :)

                mrjjM 1 Reply Last reply
                0
                • JonBJ JonB

                  @mrjj
                  For Windows 8, I immediately replaced Start Menu with the free Classic Start Menu, best thing I ever did, made it like Win 7 and it made OS useable, you can also make it XP if you like that :)

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by mrjj
                  #8

                  @JonB
                  hehe yes, classic menu is a must have after 8+
                  (IMHO)
                  I did try to use the new one for like 6 month but then gave up on it.

                  JonBJ 1 Reply Last reply
                  1
                  • mrjjM mrjj

                    @JonB
                    hehe yes, classic menu is a must have after 8+
                    (IMHO)
                    I did try to use the new one for like 6 month but then gave up on it.

                    JonBJ Offline
                    JonBJ Offline
                    JonB
                    wrote on last edited by
                    #9

                    @mrjj
                    I went further. Switched over to Linux (at least partially) :-)

                    mrjjM 1 Reply Last reply
                    1
                    • JonBJ JonB

                      @mrjj
                      I went further. Switched over to Linux (at least partially) :-)

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @JonB
                      Well i tried that but gimp is so far from photoshop
                      and even that inkscape was ok for Corel Draw replacement, i missed
                      some apps from the windows world and could not settle with the linux alternatives.
                      Wine IS pretty cool but it was just too much hassle and it turned out that
                      linux in virtual machine on top of windows gave the best of both worlds.

                      But if i could only use one OS, it would be some linux distro as it wins
                      hands down in most areas that matters.

                      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