Hacking:Building: Difference between revisions

157 bytes removed ,  6 years ago
Changing valentina to seamly / seamly2D
No edit summary
(Changing valentina to seamly / seamly2D)
Line 4:
<translate>
== Getting the sources == <!--T:1-->
Main repository: https://bitbucketgithub.orgcom/dismineFashionFreedom/valentina<br Seamly2D/>
Mirror on GitHub: https://github.com/dismine/Valentina
 
<!--T:46-->
Line 11 ⟶ 10:
 
=== From the download section === <!--T:2-->
This method recommended for newbies. Just download the ValentinaSeamly2D's source code from the [https://bitbucketgithub.orgcom/dismineFashionFreedom/valentinaSeamly2D/downloads/ downloads section] and extract it.
 
<!--T:3-->
Line 23 ⟶ 22:
 
=== With Mercurial === <!--T:5-->
This is more advanced way getting ValentinaSeamly2D's source code. Please, visit [[Hacking:Tools#Mercurial]] for more information.
 
== Dependencies == <!--T:13-->
Line 35 ⟶ 34:
* The last Qt version for MinGW from the official website: [https://www.qt.io/download/ Download Qt].
* (''optional'') TortoiseHG.
* ValentinaSeamly2D doesn't support devices that require supporting the Windows Store App APIs. This includes devices running Windows RT 8.1 and Windows Phone 8.1 and up.
 
<!--T:47-->
Line 52 ⟶ 51:
 
=== Build keys === <!--T:18-->
Depend on your purposes you can build ValentinaSeamly2D with different keys:
 
<!--T:19-->
Line 68 ⟶ 67:
<source lang=bash>
cd $SOURCE_DIRECTORY
qmake "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ValentinaSeamly2D.pro -r
make (or mingw32-make or nmake or jom, depending on your platform)
</source>
 
<!--T:22-->
'''Note.''' In order to build and use ValentinaSeamly2D on Windows, the PATH environment variable needs to be extended.
 
=== Building with Qt Creator === <!--T:49-->
Line 83 ⟶ 82:
== Deploying == <!--T:26-->
=== Mac OS X ===
All you need is to find ValentinaSeamly2D in the build directory and move it to the Applications folder.
 
<!--T:51-->
Usually path is '''<build_folder>/src/app/valentinaseamly2D/bin/ValentinaSeamly2D'''.
 
=== Windows === <!--T:27-->
Line 103 ⟶ 102:
* Set path to the binary in the PATH variable.
* Configure InnoSetup.
# Open the file /dist/win/inno/valentinaseamly2D.iss with Inno Setup Compiler.
# Select ''Tools'' > ''Configure Sign Tools''.
# Select Add button.
Line 184 ⟶ 183:
 
<!--T:39-->
For example if name of package was **valentinaseamly2D**:
 
<!--T:40-->
<source lang=bash>
mv /var/lib/dpkg/info/valentinaseamly2D.* /tmp/
dpkg --remove --force-remove-reinstreq valentinaseamly2D
</source>
 
==== Gentoo ==== <!--T:41-->
For Gentoo we provide ebuild scripts. You can find them on [https://bitbucket.org/dismine/valentina/downloads download page].
 
==== Slackware ==== <!--T:54-->
Line 202 ⟶ 201:
 
== Issues with build == <!--T:43-->
If you have issues with build ValentinaSeamly2D check if you satisfied all dependencies. If this not help, [[Hacking:How To Report ValentinaSeamly2D Bugs|create new issue in the issues tracker]] or new topic in the [http://forum.valentina-project.org/ forum]. Add information about your system and full log of compilation. We also need information about which branch did you fail try to build.
 
<!--T:44-->