K
K
Kirill Gusarev2021-10-21 10:03:48
Qt
Kirill Gusarev, 2021-10-21 10:03:48

How to properly install Qt Creator for all computer users?

Hello. In college, it became necessary to install Qt Creator IDE on one of the computers to create applications in C ++ for Windows, Windows 10 is installed on computers. It did not want to be installed under my account, it wrote something about a failure in access to something, here I am and asked the system administrator to install this IDE under his account.
In general, we installed it from the admin panel on the computer: C://Qt/, now you can run it from any account and try to work.
The first oddity that I noticed after installation was that the admin in Start had all the Qt shortcuts, and when I went to mine, I had nothing, and I had to manually run QtCreator.exe from C://Qt/ Tools/QtCreator/bin. It opened, but immediately began to swear with errors like "failed to read the configuration file", "failed to create some file", when launched, in general, it gives 3-5 windows with errors that can be closed. Approximately every 2 minutes, the same errors appear like "could not save the session." When you try to create a project, your own errors also appear: "Could not create myProject.pro file", etc.
Also, computers have a bunch of programming software that works almost without errors: Visual Studio, other IDEs and code editors, web servers, and more. others
I suspect that ordinary users run the application without any necessary permissions (rights), and therefore nothing works. The administrator and I tried to give full passwordless rights to this .exe through the properties, but it did not help. We also tried to create a shortcut through the task scheduler according to the fourth method from this article - the shortcut works under the admin account, but nothing happens on mine when the shortcut is launched.
Who knows how to solve this, please help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pavelsha, 2021-10-21
@pavelsha

The sysadmin is underqualified. I did not take into account during installation that users with ordinary rights will use the program.
On a good question, this should be asked by the above sysadmin. Let him study where shortcuts to programs that are used by all users of the computer should go, how the working directory should be set.
Often, all that needs to be done to make a program available to all users on a computer is to copy these shortcuts to a location that all users can access, such as Public Desktop or the Start menu. To do this:
Locate the application shortcut(s) in the account of the user performing the installation. Common places where icons are created:
User start menu:
C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs 1
User Desktop:
C:\Users\\Desktop 2
Copy the shortcut(s) to one or both of the following locations:
All Users Desktop:
C :\Users\Public\Public Desktop
All Users Start Menu:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs 3
1 Also available via %APPDATA%\Microsoft\Windows\Start Menu\Programs
2 Also available via %USERPROFILE% \Desktop
3 Also available via %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs

S
Satisfied IT, 2021-10-21
specialist @borisdenis

Often, during installation, the program asks to be installed for all users or only for the current one. I don’t know how this software is, but the behavior is very similar that this software is installed specifically for the current user, so there are no shortcuts created for other users, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question