Hacking:Building: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 21: Line 21:
This is more advanced way getting Valentina's source code. Please, visit [[Hacking:Tools#Mercurial]] for more information.
This is more advanced way getting Valentina's source code. Please, visit [[Hacking:Tools#Mercurial]] for more information.


== Dependencies == <!--T:12-->
== Dependencies ==
Common:
* Qt 5.2.1 or later (on Unix development packages needed)
* mercurial (TortoiseHG is recommended.)

<!--T:13-->
<!--T:13-->
Mac OS X:
=== Mac OS X ===
* Xcode.
* Xcode.
* The last Qt version for OS X from the official website: [https://www.qt.io/download/ Download Qt].
* Mercurial that shipped with TortoiseHG can't be reached outside. So, if you want nice tag hash number in dialog About App install mercurial independent for this.
* (''optional'') TortoiseHG.
* (''optional'') Mercurial that shipped with TortoiseHG can't be reached outside. So, if you want nice tag hash number in dialog About App install mercurial independent for this.


<!--T:14-->
<!--T:14-->
Windows:
=== Windows ===
* The last Qt version for MinGW from the official website: [https://www.qt.io/download/ Download Qt].
* MinGW or Visual Studio (both are part of Qt packages)
* (''optional'') TortoiseHG.

''Note. Valenina's source code can be compiled with Visual Studio, but without support creating an installer.''


<!--T:15-->
<!--T:15-->
Linux:
=== Linux ===
* ccache (on Linux) Recommended for speed up often re-compilations.
* g++ (at least GCC 4.6 is needed and GCC 4.8 is recommended)
* g++ (at least GCC 4.6 is needed and GCC 4.8 is recommended)
* Qt 5.0.0 and higher required. Qt 5.2.1 and higher recommended.
* (''optional'') ccache (on Linux) Recommended for speed up often re-compilations.


You can find all our scripts for creating packages in a folder '''<root_source_directory>/dist/'''.
<!--T:16-->
For Windows and Mac OS X you can get Qt from the official website: [https://www.qt.io/download/ Download Qt].


== Configuring and building == <!--T:17-->
== Configuring and building == <!--T:17-->