[Interest] How to checkout a specific version of Qt from git?

Thiago Macieira thiago.macieira at intel.com
Sat Dec 24 13:14:48 CET 2016


Em sábado, 24 de dezembro de 2016, às 11:26:55 BRST, Nuno Santos escreveu:
> Hi,
> 
> I want to get Qt 5.7.1 using git. This is what I tried:
> 
> git clone git://code.qt.io/qt/qt5.git qt5-android
> cd qt5-android
> git checkout tags/v5.7.1
> perl init-repository
> 
> But it failed with the error "fatal: Remote branch 5.7.1 not found in
> upstream origin”
> 
> What am I doing wrong?

Nothing. The tag contains bad data.

You have to manually specify which branch to check out in each submodule.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



More information about the Interest mailing list