Hacking:Building: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
'''The installed toolchains have to match the one Qt was compiled with.''' |
'''The installed toolchains have to match the one Qt was compiled with.''' |
||
<!--T:18--> |
=== Build keys ===<!--T:18--> |
||
Depend on your purposes You can build Valentina with different keys: |
Depend on your purposes You can build Valentina with different keys: |
||
Line 60: | Line 60: | ||
By default all keys are disabled. |
By default all keys are disabled. |
||
<!--T:21--> |
=== Building from command line ===<!--T:21--> |
||
Usual way to build sources is described below, however on Windows and Linux you have the opportunity to [[#Deploying|build packages]]. Mac OS X will get package automatically. |
|||
<source lang=bash> |
<source lang=bash> |
||
cd $SOURCE_DIRECTORY |
cd $SOURCE_DIRECTORY |
||
Line 69: | Line 69: | ||
<!--T:22--> |
<!--T:22--> |
||
'''Note.''' In order to build and use Valentina, the PATH environment variable needs to be extended |
'''Note.''' In order to build and use Valentina on Windows, the PATH environment variable needs to be extended. |
||
=== Building with Qt Creator === |
|||
<!--T:23--> |
|||
Some more advanced users may find using IDE more preferable choice. Please, read [[Hacking:Tools#Qt_Creator]]. |
|||
PATH - to locate qmake, moc and other Qt tools This is done by adding c:\Qt\%VERSION%\bin to the PATH variable. |
|||
'''Note.''' Building with Qt Creator on Windows and Linux doesn't support [[#Deploying|creating packages]]. |
|||
<!--T:24--> |
|||
For newer versions of Windows, PATH can be extended through the Control Panel|System|Advanced|Environment variables menu. |
|||
<!--T:25--> |
|||
You may also need to ensure that the locations of your compiler and other build tools are listed in the PATH variable. This will depend on your choice of software development environment. |
|||
== Deploying == <!--T:26--> |
== Deploying == <!--T:26--> |