PDA

View Full Version : Git checkout syntax for Qt version?



chouqud
27th February 2014, 23:13
The wiki (http://qt-project.org/wiki/Get_The_Source) shows how I can get the latest 4.* source from git:

git clone git://gitorious.org/qt/qt.git
But what's the syntax for get a particular version, say 4.8.2?

_chouqud_

ChrisW67
28th February 2014, 01:46
If you just want the sources at a particular version then they are available here:
http://download.qt-project.org/archive/qt/
without having to clone the entire repository.

If you want to use Git then, once you have cloned the repository, you use the git checkout command:


$ git checkout tags/v4.8.2

(where v4.8.2 is one of the tags in the repository) should do it.