Wednesday, July 22, 2020

How to clear Qt online installer Account credentials

Now that Qt has stopped hosting offline installers, the only option left is to use Qt online installer.
Unfortunately Qt online installer automatically saves the account credentials without asking, and does not provide any option to avoid auto save. This could be particularly problematic if you are using Qt online installer on a public computer, and you don’t want to keep your account credentials lingering around.
Below are steps to delete Qt online installer account credentials
Qt stores the account credentials in a file named qtaccount.ini
You need to delete this file to remove Qt account credentials from the computer.


qtaccount.ini is stored at C:\Users\<User Name>\AppData\Roaming\Qt\
Note: You can enter below shortcut in Windows Run (Win Key + R) to open this directory with File Explorer.
To delete the file in console, open cmd.exe from Windows menu and enter below command
del %APPDATA%\Qt\qtaccount.ini


qtaccount.ini is stored at /home/<User Name>/.local/share/Qt/
To delete this file from terminal, enter below code in terminal
rm /home/$USERNAME/.local/share/Qt/qtaccount.ini

Mac OS X:

Qt Account details are stored at /Users/<User Name>/Library/Application\ Support/Qt/
To delete this file via Terminal, open terminal app and enter below code
rm $HOME/Library/Application\ Support/Qt/qtaccount.ini

Related bug report:

No comments: