Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How clone qt source from git

Tags:

git

qt

qt5.6

qt5.5

I need qt5.5 source code and I have seen this command:

git clone git://code.qt.io/qt/qt5.git

Does this gives qt 5.5 version or qt 5.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 a similar command to get qt 5.5 version?

like image 914
User Avatar asked Dec 18 '25 20:12

User


1 Answers

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. :)

like image 150
mh166 Avatar answered Dec 20 '25 14:12

mh166



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!