30

I recently installed Qt 5.5 and its MaintenanceTool (MaintenanceTool.exe). The default repositories were working, but after one day, my MaintenanceTool suddenly reported that no repositories were set.

I can temporarily 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

2

4 Answers 4

52

The Maintenance Tool is doing crazy things since the recent updates made by Qt team.

The only solution I know is:

If everything goes well, the Maintenance Tool will be fixed.

7
9

Note: The 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 the 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 afterward:
    http://ftp2.nluug.nl/languages/qt/online/qt5/windows/x86/online_repository

And here we go! Now you can use that url as a 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.

1
  • I just (August 2019) successfully followed these steps to add components to a Qt 5.5 installation on macOS. Thanks for posting this! Aug 22, 2019 at 7:58
1

26th January 2022 : If you are using an old maintenance tool, you need to update the maintenance tool first by adding the repo 'http://download.qt-project.org/online/qtsdkrepository/windows_x86/desktop/tools_maintenance' under user defined repository following the above described steps and selecting "update components". Now you can add/remove the components such as QtCharts, Qt3D etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.