aboutsummaryrefslogtreecommitdiff
path: root/contrib/macdeploy/notes.txt
blob: 0654ff7169dfb354287a575c3f88205a19f56fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

macdeployqtplus works best on OS X Lion, for Snow Leopard you'd need to install
Python 2.7 and make it your default Python installation.

You will need the appscript package for the fancy disk image creation to work.
Install it by invoking "sudo easy_install appscript".

Ths script should be invoked in the target directory like this:
$source_dir/contrib/macdeploy/macdeployqtplus Bitcoin-Qt.app -add-qt-tr de,es,ru -dmg -fancy $source_dir/contrib/macdeploy/fancy.plist

During the process, the disk image window will pop up briefly where the fancy
settings are applied. This is normal, please do not interfere.

You can also set up Qt Creator for invoking the script. For this, go to the
"Projects" tab on the left side, switch to "Run Settings" above and add a
deploy configuration. Next add a deploy step choosing "Custom Process Step".
Fill in the following.

Enable custom process step: [x]
Command: %{sourceDir}/contrib/macdeploy/macdeployqtplus
Working directory: %{buildDir}
Command arguments: Bitcoin-Qt.app -add-qt-tr de,ru -dmg -fancy %{sourceDir}/contrib/macdeploy/fancy.plist 

After that you can start the deployment process through the menu with
Build -> Deploy Project "bitcoin-qt"