Closed mrgreywater closed 5 years ago
done. @benlau can you close it?
Thank you! The PR only takes care of the Qt download, and not of any others such as the Android SDK, so I'll let this issue open for now.
@mrgreywater as far as i see, you can pass QT_VERSION to "install-qt" script as "android-5.5.1" instead of "5.5.1" and it will works. in my opinion we used to have one script to "Rule them all" ))
There are quite a few more downloads that use wget and not the custom downloader, see https://github.com/benlau/qtci/search?q=wget&unscoped_q=wget but most notably bin/install-android-sdk needs to use the custom download for both the NDK and SDK, as they are quite big.
as you can see at that search resoult, almost all of cases where covered by my one script. only 2 cases where not covered:
so, if you wanna, you can submit patch to that cases ...
It would be nice if one could set a custom command for downloading before invoking the scripts. Since some of the downloads are pretty large, having a downloader that supports multiple connections such as aria2c or axel can make the difference between waiting 5 minutes, or waiting 3 seconds in travis.
Something like
Internally, QTCI_DOWNLOAD could be set to a default value of 'wget -c -nv' if not defined previously.