<p>Users that need to compile their own binaries should get the source code for the latest release from the <ahref="../download.html">Download Page</a>.</p>
<p>If you are a programmer and plan to contribute with code fixes, or if you are a user that wants to use the latest version and accepts the risks of doing that, then you should download the source from the GitHub server at https://github.com/leozide/leocad.git.</p>
<p>Typing the following will download the latest revision to a directory called “leocad” on your computer:</p>
<p>Note: You can receive notifications of source code changes by watching the project on the <ahref="https://github.com/leozide/leocad">Github Page</a>.</p>
<p>LeoCAD requires Qt 4.8 or later (including Qt5) to compile. You can download the Qt SDK for all platforms from the <ahref="http://qt-project.org">Qt Project Homepage</a>.</p>
<p>Linux users may find it easier to use their package manager instead with the following command:</p>
<p>Although it is not required, it is recommended to also download and install a <ahref="library.html">parts library</a>, otherwise only a very small set of basic parts will be available.</p>
<p>If you are not using Qt Creator, or if you prefer to compile from the command line, you can generate a makefile by using “qmake”, then build and install the application with the following commands:</p>
<li>“DISABLE_UPDATE_CHECK=1”: disables update checks at startup and removes that option from the menu. This is recommended to be set for distributions that have their own way of updating applications to avoid confusing users.</li>
<li>“LDRAW_LIBRARY_PATH=path”: adds an extra path to be searched at startup for the LDraw library. The path should be the root folder of the LDraw library. For example, “/usr/share/ldraw”.</li>
<p>Windows users also have the option to compile with Visual Studio, but you need to use “qmake” to generate the project files first with the following command:</p>
<p>To compile for macOS, you will need to add a <ahref="library.html">parts library</a> to the folder where you downloaded the source code. You can download the Linux library and unzip it there with the following command:</p>
<p>To compile for iOS, you will need to add a <ahref="library.html">parts library</a> to the folder where you downloaded the source code. You can download the Linux library and unzip it there with the following command:</p>