No default repositories in Qt Maintenance Tool

对着背影说爱祢 提交于 2019-12-18 10:53:17

问题


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:

  1. 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
  2. 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
  3. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!