问题
I recently installed Qt 5.5 and its MaintenanceTool (MaintenanceTool.exe). The default repositories were working, but after one day, my MaintenanceTool suddenly reports that no repositories were set?
I can temporaryly enter individual repositories in the MaintenanceTool, but I would like to get the default repos set.
Why are they gone? How can I set the default repositories again?
Thanks in advance
回答1:
The Maintenance Tool is doing crazy things since the recent updates made by Qt team.
The only solution I know is:
Add the next temporary repository in "Settings":
Windows: http://download.qt.io/online/qt5/windows/x86/online_repository/
Mac: http://download.qt.io/online/qt5/mac/x64/online_repository/
Now, you can update the Qt components and you should see a new update for the Maintenance Tool.
If everything goes well, the Maintenance Tool will be fixed.
回答2:
Note: Download speed of the default repo by Qt is quite slow (usually limited to 2mbps).
So you might want to use official mirrors to get much higher download speeds.
Here is some magic to quickly get those repo addresses:
- Open following url (which contains online repo components of Qt:
http://download.qt.io/online/qt5/windows/x86/online_repository/qt/ You'll see some files in that directory - Click on "Details" on the right side of any of those files.
This will show mirror links of the file such as:
http://ftp2.nluug.nl/languages/qt/online/qt5/windows/x86/online_repository/qt/1.0.0meta.7z - Cut the right side of any of those urls to make it end with
online_repository
.
It should be something like this afterwards:
http://ftp2.nluug.nl/languages/qt/online/qt5/windows/x86/online_repository
And here we go! Now you can use that url as repository which has higher download speeds.
回答3:
As of today (2017 oct. 30) the Mac repo url http://download.qt-project.org/online/qtsdkrepository/mac_x64/root/qt worked for me 1) Manually added the repository as a custom repo 2) Updated (only the maintenance tool was updated at that time it seems) 3) Relaunched the maintenance tool 4) Deleted the custom repo because many repos were present in the default repositories list, then quit the maintenance tool 5) Relaunched the maintenance tool and updated normally
BTW: I used the offline installer for the first install on my Mac
来源:https://stackoverflow.com/questions/31428931/no-default-repositories-in-qt-maintenance-tool