If you are using the online Qt 5 SDK but downloads are slow and/or you frequently get disconnected, this tool might help. You might have been assigned a mirror that is performing poorly. The Qt SDK Repo Chooser helps you select a non-default mirror, which might give you a better download experience.
Ideally, the causes of this issue should be solved upstream. Please add your thoughts, ideas, and votes to the reports at QTIFW-5 and QTIFW-441. In the meantime though, I hope this tool is useful for you to get started with Qt.
See [doc/index.html] (https://htmlpreview.github.io/?https://github.com/JKSH/QtSdkRepoChooser/blob/master/doc/index.html).
If you can't use this tool for whatever reason, you can still set up your local repository manually.
-
Download the contents of the following folder and all its subfolders. Ensure that you preserve the folder hierarchy:
- https://download.qt.io/online/qtsdkrepository/{platform}/root/qt/
- {platform} is one of:
- "linux_x64"
- "linux_x86"
- "mac_x64"
- "windows_x86"
-
Follow steps #1 - #3 in [doc/index.html] (https://htmlpreview.github.io/?https://github.com/JKSH/QtSdkRepoChooser/blob/master/doc/index.html).
-
See the URL of the online installer from the mirror. It should be in this form:
- {base_path}/official_releases/online_installers/{installer_executable}
-
Open Updates.xml that you downloaded from step #1. Notice a list of URLs in this form:
-
Replace all instances of "https://download.qt.io" with the value of {base_path} from step #3.
-
Save Updates.xml.
-
Follow steps #7 - #10 in doc/index.html. The folder that contains Updates.xml is your User Defined Repository.
I would like to thank Samuel Gaist for providing the prebuilt Mac OS X binaries.