How clone qt source from git
I need qt5.5 source code and I have seen command git clone git://code.qt.io/qt/qt5.git
Does this gives qt5.5 version or qt5.6 alpha version?
Is there a way to specify the version.
I saw a command git clone https://github.com/qtproject/qt5.git --branch v5.3.1
can i use similar command to get qt5.5 version?
Of course you can: just take a look at https://github.com/qtproject/qt5/branches and see the available branches. As you notice, your desired branch is called 5.5
- so use this in the git clone command. :)
git clone https://github.com/qtproject/qt5.git --branch 5.5
Edit : I just noticed, that the qt5 repository uses submodules to organize everything. In order to check them out as well (and not just having empty folders), please see this SO answer on how to checkout git submodules as well. :)
链接地址: http://www.djcxy.com/p/92412.html上一篇: Google Drive API
下一篇: 如何从git中克隆qt源码