summaryrefslogtreecommitdiffstats
path: root/README
blob: 7f9dc9de919f228cc5f34a89a71935f7208ff4c5 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
These are instructions for the Nokia SDK installer.

== Qt configuration ==

Recommended configure options:

Windows static/release:

configure -static -release -no-webkit -platform win32-msvc2008 -no-phonon -fast -no-dbus -no-opengl -exceptions -nomake demos -nomake examples -confirm-license -commercial



== Tested Platforms ==

Platforms tested so far:

On all platforms: Qt 4.5.2

Linux 32bit, gcc 4.3.3: CI, tested, works
Linux 64bit, gcc 4.3.3: CI, tested, works
OS X 10.5 32 bit, gcc 4.0.1: CI, tested, works
OS X 10.6 32 bit: not tested
OS X 10.6 64 bit: not tested
Windows 32 bit XP, MSVC 2005/2008: CI, tested, works
Windows Vista 32 bit: not tested
Windows Vista 64 bit: not tested


== Build ==

Shared build of the actual installer lib is not supported any longer. 
Only examples/updaterplugin, the Qt Creator plugin, is build shared.

Note: To build the Qt Creator plugin, an environment variable QTCREATOR_SOURCE_PATH 
containing the path to the Qt Creator source directory needs to be set:

export QTCREATOR_SOURCE_PATH=~/Downloads/qt-creator-1.3.0/
or
set QTCREATOR_SOURCE_PATH=C:\Downloads\qt-creator-1.3.0\

To build an installer, it is advised to use a statically linked Qt. The Creator plugin
needs to be linked against a shared Qt, though.


=== Static/Debug/Unix ===

cd installer/kdtools/kdtools
./configure.sh -static -debug
make
cd /path/to/installer
./configure.sh -static -debug
make

== Static/Debug/Windows ==

cd installer\kdtools\kdtools 
configure.bat -static -debug
nmake
cd P:\ath\to\installer
configure.bat -static -debug
nmake

== Create an Installer ==

To create an installer, use binarycreator:
 
in windows;
cd installerbuilder
bin\binarycreator.exe -t bin\installerbase.exe -p ..\examples\packages -c ..\examples\config createdinstaller.exe com.nokia.sdk

in unix;
cd installerbuilder
bin/binarycreator -t bin/installerbase -p ../examples/packages -c ../examples/config createdinstaller com.nokia.sdk

This creates an installer "createdinstaller.exe" from the installerbase binary and the components required by the com.nokia.sdk package.


== Create an Archive ==

To create an 7zip archive named qt-copy.7z that contains the directory qt-copy use:

cd /path/where/qt-copy/is/located
7z a -t7z -mx=9 -ms=off -l qt-copy.7z qt-copy