blob: aadc04afd746653a1743697885590264951333ad (
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
# qt-%QT_VERSION%
env releaseLocation "http://tirion.troll.no/~qt/packages/%QT_VERSION%"
#extracts the package to buildDir
extract dest "qtsources"
Section EXTRACT
# qt-%QT_VERSION%
extract extUnpack "qt-embedded-wince-commercial-src-%QT_VERSION%.zip"
# This is a little bit hacky: The eval patches unzip to qt-win... not to qt-wince
# Thus we keep extracting to that directory and copy it over to our target afterwards
extract src "qt-win-commercial-src-%QT_VERSION%"
extract extPatch "qt-win-evalpatches-src-%QT_VERSION%.zip"
extract src "qt-wince-commercial-src-%QT_VERSION%"
#delete line with "activeqt" in examples.pro file (don't build this)
delete line "qtsources\examples\examples.pro" "activeqt"
SectionEnd
Section GETFILES
copy extsync debugext
SectionEnd
#build the WIN32 binaries
build begin vs2005 "build_vs2005_ce_win32_evaluation_________________PADDING_________________"
Section CONFIGUREWIN32
build shadowconfigure "qtsources" "-confirm-license -no-webkit -no-phonon -qt-libpng -qt-libjpeg -no-openssl -no-incredibuild-xge -D QT_EVAL"
SectionEnd
Section BUILDWIN32
build bin sub-src
build binInDir "tools"
SectionEnd
build finish
#build the WM50 binaries
build begin vs2005 "build_vs2005_ce_wm50_evaluation_________________PADDING_________________"
Section CONFIGUREWM50
build shadowconfigure "qtsources" "-confirm-license -xplatform wincewm50pocket-msvc2005 -no-openssl -no-incredibuild-xge -D QT_EVAL"
SectionEnd
Section BUILDWM50
build setcepaths "wincewm50pocket-msvc2005"
build bin sub-src
SectionEnd
build finish
#build the ssdk50x86 binaries
build begin vs2005 "build_vs2005_ce_ssdk50x86_evaluation_________________PADDING_________________"
Section CONFIGURESSDK50X86
build shadowconfigure "qtsources" "-confirm-license -xplatform wince50standard-x86-msvc2005 -no-openssl -no-incredibuild-xge -D QT_EVAL"
SectionEnd
Section BUILDSSDK50X86
build setcepaths "wince50standard-x86-msvc2005"
build bin sub-src
SectionEnd
build finish
# organize release files
Section ORGANIZE
delete dir "release_vs2005_ce_evaluation"
copy dest "release_vs2005_ce_evaluation"
# copy sources to "qtsources"
copy src "qtsources"
delete dir "release_vs2005_ce_evaluation\qtsources"
copy dest "release_vs2005_ce_evaluation\qtsources"
copy all "*"
# NOTE: The eval package must not contain sources. Thus we can only provide
# the binary builds we have to potential customers.
delete destdir "src"
delete destdir "tools"
delete destdir "qmake"
delete destdir "utils"
delete file "configure.exe"
copy dest "qtsources"
copy syncqt
# copy WIN32 binaries
copy src "build_vs2005_ce_win32_evaluation_________________PADDING_________________"
delete dir "release_vs2005_ce_evaluation\win32binaries"
copy dest "release_vs2005_ce_evaluation\win32binaries"
copy files "bin\*" "bin\"
copy files "lib\*.pdb" "bin\"
#copy files "include\*" "include\"
copy files "lib\*.prl" "lib\"
copy files "lib\*.lib" "lib\"
copy files "mkspecs\*" "mkspecs\"
copy files "plugins\*" "plugins\"
copy file "include\Qt\qconfig.h"
copy file "src\corelib\global\qconfig.h"
copy file ".qmake.cache"
# copy header files
copy src "qtsources\include"
copy dest "release_vs2005_ce_evaluation\win32binaries\include"
copy all "*"
copy src "release_vs2005_ce_evaluation\qtsources\doc\html"
copy dest "release_vs2005_ce_evaluation\win32binaries\doc\html"
copy all "*"
copy src "release_vs2005_ce_evaluation\qtsources\doc\qch"
copy dest "release_vs2005_ce_evaluation\win32binaries\doc\qch"
copy all "*"
delete dir "release_vs2005_ce_evaluation\qtsources\doc\html"
#copy all "qch"
delete dir "release_vs2005_ce_evaluation\qtsources\doc\qch"
# copy WM50 binaries
copy src "build_vs2005_ce_wm50_evaluation_________________PADDING_________________"
delete dir "release_vs2005_ce_evaluation\wm50binaries"
copy dest "release_vs2005_ce_evaluation\wm50binaries"
copy files "bin\*" "bin\"
#copy files "include\*" "include\"
copy files "lib\*.prl" "lib\"
copy files "lib\*.lib" "lib\"
copy files "lib\*.pdb" "lib\"
copy files "lib\*.dll" "lib\"
copy files "mkspecs\*" "mkspecs\"
copy files "plugins\*" "plugins\"
copy file "include\Qt\qconfig.h"
copy file "src\corelib\global\qconfig.h"
copy file ".qmake.cache"
# copy header files
copy src "qtsources\include"
copy dest "release_vs2005_ce_evaluation\wm50binaries\include"
copy all "*"
# copy ssdk50x86 binaries
copy src "build_vs2005_ce_ssdk50x86_evaluation_________________PADDING_________________"
delete dir "release_vs2005_ce_evaluation\ssdk50x86binaries"
copy dest "release_vs2005_ce_evaluation\ssdk50x86binaries"
copy files "bin\*" "bin\"
#copy files "include\*" "include\"
copy files "lib\*.prl" "lib\"
copy files "lib\*.lib" "lib\"
copy files "lib\*.pdb" "lib\"
copy files "lib\*.dll" "lib\"
copy files "mkspecs\*" "mkspecs\"
copy files "plugins\*" "plugins\"
copy file "include\Qt\qconfig.h"
copy file "src\corelib\global\qconfig.h"
copy file ".qmake.cache"
# copy header files
copy src "qtsources\include"
copy dest "release_vs2005_ce_evaluation\ssdk50x86binaries\include"
copy all "*"
SectionEnd
Section NSIS
# general installer options
installer begin "Qt Evaluation for Windows CE"
installer version "%QT_VERSION%"
installer welcometitle "Welcome to Qt for Windows CE"
installer finishtitle "Completing Qt for Windows CE"
installer output "c:\iwmake\qt-embedded-wince-eval-%QT_VERSION%-vs2005.exe"
installer startmenu "Qt for Windows CE by Nokia v%QT_VERSION% (Eval. VS2005)"
installer enable component_page
installer enable directory_page
installer enable startmenu_page
installer instdir msvc 0 "Qt Installation Directory"
installer readmefunction "Show Documentation"
# ### FIXME: Use start page as soon as assistant allows you to do so previously to loading documentation.
# installer readmestartpage "qthelp://com.trolltech.qt.440/qdoc/wince-with-qt-introduction.html"
# license checking
installer module licensecheck
installer defineDir licensecheck licenseDir "release_vs2005_ce_evaluation\qtsources"
installer define licensecheck productlist "UnsupportedEvaluation|SupportedEvaluation|FullSourceEvaluation"
installer define licensecheck wince
# ### FIXME: Remove once we have proper licenses
#installer licenseFile "%IWMAKE_ROOT%\LICENSE.PREVIEW.COMMERCIAL"
# msvc options
installer module msvc
installer makeFileList msvc "release_vs2005_ce_evaluation"
#installer buildDir msvc "build_vs2005_ce_win32_evaluation_________________PADDING_________________"
installer buildDir msvc "qtsources"
installer defineDir msvc qtsourcetree "qtsources"
installer define msvc qtsourceinstalldirname "qtsources"
installer defineDir msvc win32buildtree "build_vs2005_ce_win32_evaluation_________________PADDING_________________"
installer define msvc win32buildinstalldirname "win32binaries"
installer defineDir msvc wm50buildtree "build_vs2005_ce_wm50_evaluation_________________PADDING_________________"
installer define msvc wm50buildinstalldirname "wm50binaries"
installer define msvc wm50sdk "wincewm50pocket-msvc2005"
installer define msvc wm50versionpretty "Windows Mobile 5 Pocket"
installer defineDir msvc ssdk50x86buildtree "build_vs2005_ce_ssdk50x86_evaluation_________________PADDING_________________"
installer define msvc ssdk50x86buildinstalldirname "ssdk50x86binaries"
installer define msvc ssdk50x86sdk "wince50standard-x86-msvc2005"
installer define msvc ssdk50x86versionpretty "WinCE standard SDK 5 x86"
installer define msvc vs2005
#installer define msvc skippatchlicenseinformation
installer module evaluation
installer module registeruiext
# compile the package
installer compile
installer sign
SectionEnd
|