Installed for Admin only
-
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? -
@Bryan-Kelly so you need admin permission to launch Qt Creator?
-
@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.
-
@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.
-
@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. -
@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. -
@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. -
@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?
-
@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:
-
@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?
-
@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.
-
@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 toC:\
. 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.
-
@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. -