Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.1.0
-
None
-
Windows 8.1 64-bit. I have installed many versions of Qt and Qt Creator on this PC over the years, using both Online and Offline installers.
Description
Hello,
Background
- I've used the online installer to install Qt 5.1.0, 5.2.0 and 5.2.1 when they are released. (I don't think I installed Qt 5.1.1, but my memory might be faulty)
- When I upgrade, I install the new version through the online installer, and then uninstall the old version once I've verified that the new one works.
- In parallel with the online packages, I've also installed some versions of Qt 5 using the offline installers (which include Qt Creator), in different folders from the online installer.
Issue
- Even though Qt 5.1.0 is long gone from my system, I can't purge the entries from Qt Creator (see screenshots and steps below)
- Later versions were uninstalled without incident.
Purging steps
- Open Tools -> Options -> Build & Run in Qt Creator.
- In the Qt Versions tab, click "Clean up". This removes the 2 copies of Qt 5.1.0.
- Click "OK", and then close Qt Creator.
- Open C:\Users[Username]\AppData\Roaming\QtProject\qtversion.xml. I verify that Qt 5.1.0 are no longer there.
- Open C:\Users[Username]\AppData\Roaming\QtProject\profiles.xml, and remove the entries for the Qt 5.1.0 kits. (Qt Creator's GUI doesn't let me remove auto-detected kits). Save.
- Restart Qt Creator
Unfortunately, after Step #6, the Qt 5.1.0 kits and Qt Versions are restored!
While modifying profiles.xml, I made sure I renumbered "Profile.X" and reduced "Profile.Count" by 2. The removed sections were:
<data> <variable>Profile.0</variable> <valuemap type="QVariantMap"> <value type="bool" key="PE.Profile.AutoDetected">true</value> <valuemap type="QVariantMap" key="PE.Profile.Data"> <value type="QString" key="Debugger.Information">{d1fea8f3-9092-4db2-aeb8-fa256a75be0a}</value> <value type="QString" key="PE.Profile.Device">Desktop Device</value> <value type="QByteArray" key="PE.Profile.DeviceType">Desktop</value> <value type="QString" key="PE.Profile.SysRoot"></value> <value type="QString" key="PE.Profile.ToolChain"></value> <value type="QString" key="QtPM4.mkSpecInformation"></value> <value type="int" key="QtSupport.QtInformation">-1</value> </valuemap> <value type="QString" key="PE.Profile.Icon">:///DESKTOP///</value> <value type="QString" key="PE.Profile.Id">qt.510.win64_msvc2012_64_opengl.essentials_kit</value> <valuelist type="QVariantList" key="PE.Profile.MutableInfo"/> <value type="QString" key="PE.Profile.Name">Desktop Qt 5.1.0 MSVC2012 OpenGL 64bit</value> <value type="bool" key="PE.Profile.SDK">true</value> </valuemap> </data> <data> <variable>Profile.1</variable> <valuemap type="QVariantMap"> <value type="bool" key="PE.Profile.AutoDetected">true</value> <valuemap type="QVariantMap" key="PE.Profile.Data"> <value type="QString" key="Debugger.Information">{d1fea8f3-9092-4db2-aeb8-fa256a75be0a}</value> <value type="QString" key="PE.Profile.Device">Desktop Device</value> <value type="QByteArray" key="PE.Profile.DeviceType">Desktop</value> <value type="QString" key="PE.Profile.SysRoot"></value> <value type="QString" key="PE.Profile.ToolChain"></value> <value type="QString" key="QtPM4.mkSpecInformation"></value> <value type="int" key="QtSupport.QtInformation">-1</value> </valuemap> <value type="QString" key="PE.Profile.Icon">:///DESKTOP///</value> <value type="QString" key="PE.Profile.Id">qt.510.win32_mingw48.essentials_kit</value> <valuelist type="QVariantList" key="PE.Profile.MutableInfo"/> <value type="QString" key="PE.Profile.Name">Desktop Qt 5.1.0 MinGW 32bit</value> <value type="bool" key="PE.Profile.SDK">true</value> </valuemap> </data>
Attachments
I've attached the contents of C:\Users[Username]\AppData\Roaming\QtProject, in case it contains useful diagnostic info. However, I removed the contents of the ".helpcollection" folder because they were 49 MB in total.