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

Nuno Santos nunosantos at imaginando.pt
Sat Dec 24 17:35:55 CET 2016


Thiago,

All Qt build from sources references mention perl init-repository

It kinda tedious to cd into each module to make the init. 

Isn’t that supposed to be the job of perl init-repository?

Thanks!

Merry Christmas!

Nuno

> On 24 Dec 2016, at 16:19, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> Em sábado, 24 de dezembro de 2016, às 10:14:48 BRST, Thiago Macieira escreveu:
>> 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.
> 
> I have just tried git submodule update --init and it worked.
> 
> Stop using init-repository and you'll be fine.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com <http://intel.com/>
>  Software Architect - Intel Open Source Technology Center
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org <mailto:Interest at qt-project.org>
> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161224/9c5ee08a/attachment.html>


More information about the Interest mailing list