QT online installer is not completing with errors
-
this is really frustrating as I wasted my entire working day just trying to download and install QT 6.0.1 community, and it suddenly encoutered an error during download with an "Unable to download content" error.
I searched around and there are instructions to switch mirror.
The problem is, those instructions are obsolete and all the descriptions in there does not even match what the current version have.Example, this instruction
http://htmlpreview.github.io/?https://github.com/JKSH/QtSdkRepoChooser/blob/master/doc/index.htmlafter finding the mirrors here:
https://download.qt.io/online/qtsdkrepository/mac_x64/root/qt/Updates.xml.mirrorlistand downloading the QtSdkRepoChooser tool and running it, the tool has an error and does not display the mirrors on it.
the error isDownloading mirror list...
ERROR: Malformed file:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>301 Moved Permanently</title>\n</head><body>\n<h1>Moved Permanently</h1>\n<p>The document has moved <a href="https://download.qt.io/online/qtsdkrepository/windows_x86/root/qt/Updates.xml.mirrorlist">here</a>.</p>\n</body></html>\n"it is pointing to windows_x86, but i downloaded the one for macos.
and when running the latest online installer, there is no option or 'settings' to switch to whatever mirror to choose from.
perhaps somebody here will advice, "change the mirror" but how can i change the mirror if I am unable to using the instruction, am I missing something here?
this is really frustraating, anyone please help.
-
@cebuger said in QT online installer is not completing with errors:
perhaps somebody here will advice, "change the mirror" but how can i change the mirror if I am unable to using the instruction, am I missing something here?
Hi,
The Qt SDK Repo Chooser was a 3rd-party tool. It is now replaced by the official mirror selection mechanism built into the Qt Online Installer.
See https://wiki.qt.io/Online_Installer_4.x#Selecting_a_mirror_for_opensource to use the official tool, and post back here if you need further assistance.
Thank you for highlighting the obsolete instructions, and sorry for the confusion and frustration they caused; I will update the instructions to point people to the official version.
it is pointing to windows_x86, but i downloaded the one for macos.
The mirror lists are platform-agnostic. These URLs give you exactly the same list of servers:
- https://download.qt.io/online/qtsdkrepository/mac_x64/root/qt/Updates.xml.mirrorlist
- https://download.qt.io/online/qtsdkrepository/windows_x86/root/qt/Updates.xml.mirrorlist
As described in the Wiki, you should only keep the URL from before "
/online/...
"For example, if you choose
http://master.qt.io/online/qtsdkrepository/windows_x86/root/qt/Updates.xml
, passhttp://master.qt.io
to the executable instead.