summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-03-28 13:38:23 +0200
committerEike Ziller <eike.ziller@qt.io>2023-03-29 08:34:10 +0000
commit81a5e2143cb7728316e02d24925f853e2db2099a (patch)
tree66bdf0946854e51e8728bccc3c900031684a68b9 /README.md
parentdf53b7c9b73efbb8730e7a9e0c65375f8010c822 (diff)
downloadqt-creator-81a5e2143cb7728316e02d24925f853e2db2099a.tar.gz
README: Add section on getting sources from git
Change-Id: I81b8d0e4e6d8df460f85bdd90b4688df2987bf6c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
index 73963e434a..590361d1ef 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,32 @@ Prerequisites:
The used toolchain has to be compatible with the one Qt was compiled with.
+### Getting Qt Creator from Git
+
+The official mirror of the Qt Creator repository is located at
+https://code.qt.io/cgit/qt-creator/qt-creator.git/. Run
+
+ git clone https://code.qt.io/qt-creator/qt-creator.git
+
+to clone the Qt Creator sources from there. This creates a checkout of the
+Qt Creator sources in the `qt-creator/` directory of your current working
+directory.
+
+Qt Creator relies on some submodules, like
+[litehtml](https://github.com/litehtml) for displaying documentation. Get these
+submodules with
+
+ cd qt-creator # switch to the sources, if you just ran git clone
+ git submodule update --init --recursive
+
+Note the `--recursive` in this command, which fetches also submodules within
+submodules, and is necessary to get all the sources.
+
+The git history contains some coding style cleanup commits, which you might
+want to exclude for example when running `git blame`. Do this by running
+
+ git config blame.ignoreRevsFile .gitignore-blame
+
### Linux and macOS
These instructions assume that Ninja is installed and in the `PATH`, Qt Creator