Time for action – setting up Qt sources using Git
First, you need to install Git on your system if you don't already have it. How to do that depends on your operating system. For Windows, simply download an installer from https://git-for-windows.github.io. For Mac, the installer is available at http://code.google.com/p/git-osx-installer. For Linux, the simplest way is to use your system's package manager. For instance, on Debian-based distributions, just issue the sudo apt-get install git
command on a terminal and wait until the installation gets completed.
Afterwards, you need to clone Qt's Git repository. Since Git is a command-line tool, we'll be using the command line from now on. To clone Qt's repository to a directory where you want to keep the sources, issue the following command:
git clone git://code.qt.io/qt/qt5.git
If all goes well, Git will download a lot of source code from the network and create a qt5
directory, containing all the files that were...