Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Installed for Admin only
Qt 6.11 is out! See what's new in the release blog

Installed for Admin only

Scheduled Pinned Locked Moved Solved Installation and Deployment
13 Posts 4 Posters 4.0k 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.
  • B Bryan Kelly

    Windows 11
    Qt 6.6.2 is now installed, but, it required the use of the admin account and installed only for admin. I suspect a user prompted was not noticed and the wrong option was taken. What are the steps needed to make it available for my user account? For all users on this computer?

    sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #2

    @Bryan-Kelly so you need admin permission to launch Qt Creator?

    (Z(:^

    B 1 Reply Last reply
    0
    • sierdzioS sierdzio

      @Bryan-Kelly so you need admin permission to launch Qt Creator?

      B Offline
      B Offline
      Bryan Kelly
      wrote on last edited by Bryan Kelly
      #3

      @sierdzio I must be using the admin account. When using my regular account Qt does not exist. Specifically, click with windows icon at the bottom of the screen, the left most item. Open the drop down All apps, then scroll down to the Qs. Qt is present when using Admin and not present when using my regular working account.

      JonBJ jsulmJ 2 Replies Last reply
      0
      • B Bryan Kelly

        @sierdzio I must be using the admin account. When using my regular account Qt does not exist. Specifically, click with windows icon at the bottom of the screen, the left most item. Open the drop down All apps, then scroll down to the Qs. Qt is present when using Admin and not present when using my regular working account.

        JonBJ Online
        JonBJ Online
        JonB
        wrote on last edited by JonB
        #4

        @Bryan-Kelly
        You should not have installed as Admin, and should not have needed to. I thought you asked this in another topic and said you would uninstall and reinstall as normal user?

        That would be simpler and probably less error-prone than attempting to access stuff installed for a different user. It might only be the Program Group you are missing as you, and could manage from what has been installed with a bit of work; I don't know what the installer does about the current user, but if feels safer and cleaner to get the installation correct in the first place.

        B 1 Reply Last reply
        0
        • JonBJ JonB

          @Bryan-Kelly
          You should not have installed as Admin, and should not have needed to. I thought you asked this in another topic and said you would uninstall and reinstall as normal user?

          That would be simpler and probably less error-prone than attempting to access stuff installed for a different user. It might only be the Program Group you are missing as you, and could manage from what has been installed with a bit of work; I don't know what the installer does about the current user, but if feels safer and cleaner to get the installation correct in the first place.

          B Offline
          B Offline
          Bryan Kelly
          wrote on last edited by Bryan Kelly
          #5

          @JonB Sounds valid. But, during installation a dialog popped up saying it had to use Admin privileges. I just responded to the prompt. Now I need to figure out what to do. If I uninstall, then the same dialog will pop up and will get back to this same place.
          And yes, I hung this question onto another question but decided that the topic was sufficiently different to warrant a question all its own. I hope this is OK.
          I have a question on a Microsoft forum that has yet to be answered. The only reply so far referred me to a Qt forum. I think this is a Microsoft problem but am looking anywhere I can.

          B 1 Reply Last reply
          0
          • B Bryan Kelly

            @JonB Sounds valid. But, during installation a dialog popped up saying it had to use Admin privileges. I just responded to the prompt. Now I need to figure out what to do. If I uninstall, then the same dialog will pop up and will get back to this same place.
            And yes, I hung this question onto another question but decided that the topic was sufficiently different to warrant a question all its own. I hope this is OK.
            I have a question on a Microsoft forum that has yet to be answered. The only reply so far referred me to a Qt forum. I think this is a Microsoft problem but am looking anywhere I can.

            B Offline
            B Offline
            Bryan Kelly
            wrote on last edited by
            #6

            @Bryan-Kelly I have posted in a Microsoft forum and the replies there claim this is a Qt problem. I am stuck in the middle.
            The best option I see right now is to check the environment variables, copy Qt stuff and put in the user environment, then copy shortcuts to the user accounts and see if that works. I have reservations but do not know of any other options.

            JonBJ 1 Reply Last reply
            0
            • B Bryan Kelly

              @sierdzio I must be using the admin account. When using my regular account Qt does not exist. Specifically, click with windows icon at the bottom of the screen, the left most item. Open the drop down All apps, then scroll down to the Qs. Qt is present when using Admin and not present when using my regular working account.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #7

              @Bryan-Kelly said in Installed for Admin only:

              When using my regular account Qt does not exist

              What does this mean?
              By default Qt is installed in c:\Qt and you should be able to use it (like QtCreator) from there. There should be start menu entries also, if not you can start QtCreator from the installation folder.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • B Bryan Kelly

                @Bryan-Kelly I have posted in a Microsoft forum and the replies there claim this is a Qt problem. I am stuck in the middle.
                The best option I see right now is to check the environment variables, copy Qt stuff and put in the user environment, then copy shortcuts to the user accounts and see if that works. I have reservations but do not know of any other options.

                JonBJ Online
                JonBJ Online
                JonB
                wrote on last edited by
                #8

                @Bryan-Kelly
                I have never installed Qt under Windows. However, I would be "surprised" if it requires admin privilege or installation as admin user. If it did I would expect to have heard about it.

                Could someone who installs Qt under Windows please confirm that you do not need admin privileges/account for this?

                jsulmJ 1 Reply Last reply
                0
                • JonBJ JonB

                  @Bryan-Kelly
                  I have never installed Qt under Windows. However, I would be "surprised" if it requires admin privilege or installation as admin user. If it did I would expect to have heard about it.

                  Could someone who installs Qt under Windows please confirm that you do not need admin privileges/account for this?

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  @JonB said in Installed for Admin only:

                  if it requires admin privilege or installation as admin user.

                  It does, because by default it installs in c:\Qt and normal users have no write access in c:

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  JonBJ 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @JonB said in Installed for Admin only:

                    if it requires admin privilege or installation as admin user.

                    It does, because by default it installs in c:\Qt and normal users have no write access in c:

                    JonBJ Online
                    JonBJ Online
                    JonB
                    wrote on last edited by
                    #10

                    @jsulm
                    Ohhh. Well that sucks!

                    But I still don't quite understand. That might mean the installer needs privileges to write there but not that the installation is for admin user/only.

                    Help me here: normal users can no longer write to C:\Program Files either these days, right? Yet that is where 99% of application install to. And they are installed for the end user, not for admin only. So what is going on?

                    The OP here is finding they can only access Qt as the admin user after the installation. This cannot be right/intended, can it?

                    jsulmJ 1 Reply Last reply
                    0
                    • JonBJ JonB

                      @jsulm
                      Ohhh. Well that sucks!

                      But I still don't quite understand. That might mean the installer needs privileges to write there but not that the installation is for admin user/only.

                      Help me here: normal users can no longer write to C:\Program Files either these days, right? Yet that is where 99% of application install to. And they are installed for the end user, not for admin only. So what is going on?

                      The OP here is finding they can only access Qt as the admin user after the installation. This cannot be right/intended, can it?

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      @JonB said in Installed for Admin only:

                      That might mean the installer needs privileges to write there but not that the installation is for admin user/only

                      Exactly, it is available to all users, not just admin. That's why I asked OP "What does this mean?", but did not get an answer yet.

                      "normal users can no longer write to C:\Program Files either these days, right?" - correct, this is so since Windows NT for good reasons.

                      "So what is going on?" - well, OP should explain better, else we can only guess.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      JonBJ 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @JonB said in Installed for Admin only:

                        That might mean the installer needs privileges to write there but not that the installation is for admin user/only

                        Exactly, it is available to all users, not just admin. That's why I asked OP "What does this mean?", but did not get an answer yet.

                        "normal users can no longer write to C:\Program Files either these days, right?" - correct, this is so since Windows NT for good reasons.

                        "So what is going on?" - well, OP should explain better, else we can only guess.

                        JonBJ Online
                        JonBJ Online
                        JonB
                        wrote on last edited by
                        #12

                        @jsulm said in Installed for Admin only:

                        "normal users can no longer write to C:\Program Files either these days, right?" - correct, this is so since Windows NT for good reasons.

                        Yes, but I don't think you understand my point. Normal users cannot write to C:\Program Files but all the programs I install can do so without my having to change to an Admin user in order to install them. Because the installer runs elevated. Normal users also cannot write to C:\. So they are told to run as Admin in order to install Qt. Implying to me that the Qt installer is not a standard Windows installer running elevated, else they wouldn't have to alter who they run it as.

                        Anyway, it may be that all the OP needed to so was pick "Install for all users" if the Qt installer has that option.

                        B 1 Reply Last reply
                        0
                        • JonBJ JonB

                          @jsulm said in Installed for Admin only:

                          "normal users can no longer write to C:\Program Files either these days, right?" - correct, this is so since Windows NT for good reasons.

                          Yes, but I don't think you understand my point. Normal users cannot write to C:\Program Files but all the programs I install can do so without my having to change to an Admin user in order to install them. Because the installer runs elevated. Normal users also cannot write to C:\. So they are told to run as Admin in order to install Qt. Implying to me that the Qt installer is not a standard Windows installer running elevated, else they wouldn't have to alter who they run it as.

                          Anyway, it may be that all the OP needed to so was pick "Install for all users" if the Qt installer has that option.

                          B Offline
                          B Offline
                          Bryan Kelly
                          wrote on last edited by
                          #13

                          @JonB In summary, Qt was uninstalled then installed again with the normal user account. Every option was tracked, but this time there were no requests to use/activate the Admin account. All seems to be good now. So the presumption is that I made an error somewhere during the first install. This will be marked as solved.
                          Thank you for your time and patience.

                          1 Reply Last reply
                          0
                          • B Bryan Kelly has marked this topic as solved on

                          • Login

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