Getting Commercial Qt Sources
Some Qt components are commercial-only and some branches, after the next minor version's branch has produced a release, continue as commercial-only LTS branches. Such commercial-only content is supplied in shadow repositories whose names have a tqtc- prefix, for example tqtc-qtbase corresponds to the public qt/qtbase. Only commercial customers and those who work closely with The Qt Company have access to these repositories.
The LTS branches have a common prefix, tqtc/lts- – for example, tqtc/lts-5.15. You can add a shadow repository as a remote of an existing checkout of the corresponding public repository, with which it shares history. This is usually the most convenient way to work with the commercial-only repositories.
Cloning from shadow repositories
Alternatively you can clone shadow repositories in all the usual ways. You can get sources for all Qt submodules or just one specific Qt submodule. The clone commands are visible in the Gerrit as follows:
- sign in to Gerrit with your Qt account (that has a valid commercial license): https://codereview.qt-project.org
- In Browse > Repositories, type "tqtc-qt5" to Filter field to open the top-level Qt 5 shadow repository. If you like to open some submodule shadow repository, type "tqtc-qt<submodule>". For example, "tqtc-qtbase".
- Under the Download topic, you can see the clone commands for different protocols (anonymous HTTP, HTTP, SSH).
- remember to check that you have either uploaded your SSH key or set the HTTP password. See steps 5 and 6 in [1].
Cloning all the Qt submodules
First clone the top-level Qt 5 git repository (the anonymous HTTP clone command is used in the following example):
$ git clone "https://codereview.qt-project.org/qt/tqtc-qt5"
Then check out the target branch. Currently only the tqtc/lts-5.15 branch is available:
$ cd tqtc-qt5 $ git checkout tqtc/lts-5.15
Get the submodule source code (options are described in the next section):
$ perl init-repository
Cloning specific Qt submodule
You can clone some specific Qt submodule, for example Qt Base (the anonymous HTTP clone command is used in the following example). The lts branch is the default branch that is cloned:
$ git clone "https://codereview.qt-project.org/qt/tqtc-qtbase"