source: trunk/tools/installer/config/mingw-opensource.conf@ 433

Last change on this file since 433 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 5.0 KB
Line 
1#############################################################################
2##
3## Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
4## Contact: Qt Software Information (qt-info@nokia.com)
5##
6## This file is part of the tools applications of the Qt Toolkit.
7##
8## $QT_BEGIN_LICENSE:LGPL$
9## Commercial Usage
10## Licensees holding valid Qt Commercial licenses may use this file in
11## accordance with the Qt Commercial License Agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and Nokia.
14##
15## GNU Lesser General Public License Usage
16## Alternatively, this file may be used under the terms of the GNU Lesser
17## General Public License version 2.1 as published by the Free Software
18## Foundation and appearing in the file LICENSE.LGPL included in the
19## packaging of this file. Please review the following information to
20## ensure the GNU Lesser General Public License version 2.1 requirements
21## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
22##
23## In addition, as a special exception, Nokia gives you certain
24## additional rights. These rights are described in the Nokia Qt LGPL
25## Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
26## package.
27##
28## GNU General Public License Usage
29## Alternatively, this file may be used under the terms of the GNU
30## General Public License version 3.0 as published by the Free Software
31## Foundation and appearing in the file LICENSE.GPL included in the
32## packaging of this file. Please review the following information to
33## ensure the GNU General Public License version 3.0 requirements will be
34## met: http://www.gnu.org/copyleft/gpl.html.
35##
36## If you are unsure which license is appropriate for your use, please
37## contact the sales department at qt-sales@nokia.com.
38## $QT_END_LICENSE$
39##
40## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
41## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
42##
43#############################################################################
44#extracts the package to buildDir
45
46#extract dest "build_mingw_opensource"
47#Section EXTRACT
48#extract extUnpack "qt-win-opensource-src-4.5.1.zip"
49#SectionEnd
50
51#build the binaries
52#build begin mingw "build_mingw_opensource"
53
54#Section CONFIGURE
55#build configure "-confirm-license -release -plugin-sql-sqlite -qt-libpng -qt-libjpeg"
56#SectionEnd
57
58#Section BUILD
59#build bin
60#SectionEnd
61
62#build finish
63
64# organize release files
65#Section ORGANIZE
66#delete dir "release_mingw_opensource"
67
68#copy dest "release_mingw_opensource"
69#copy src "build_mingw_opensource"
70
71# extract everything once more
72#extract dest "release_mingw_opensource"
73#extract unpack "qt-win-opensource-src-4.4.3.zip"
74
75# qconfig.h
76#copy file "src\corelib\global\qconfig.h"
77#copy file "include\QtCore\qconfig.h"
78#copy file "include\Qt\qconfig.h"
79
80# qconfig.pri
81#copy file "mkspecs\qconfig.pri"
82
83# .qmake.cache
84#copy file ".qmake.cache"
85
86# default mkspec
87#copy files "mkspecs\default\*" "mkspecs\default\"
88
89# copy all binary files
90#copy all "*.a"
91#copy all "*.exe"
92#copy all "*.dll"
93
94# .prl files
95#copy files "lib\*.prl" "lib\"
96
97# remove unused stuff
98#delete files "lib\*.dll"
99
100# copy InetLoad license info
101#copy files "..\INetLoad\Readme.txt" "src\3rdparty\InetLoad\"
102
103#SectionEnd
104
105Section NSIS
106# general installer options
107installer begin "Qt OpenSource"
108installer version "4.4.3"
109installer output "c:\iwmake\qt-win-opensource-4.4.3-mingw.exe"
110installer startmenu "Qt by Nokia v4.4.3 (OpenSource)"
111installer enable component_page
112installer enable directory_page
113installer enable startmenu_page
114installer instdir mingw 0 "Qt Installation Directory"
115installer licenseFile "%IWMAKE_ROOT%\release_mingw_opensource\LICENSE.GPL"
116#installer licenseFile "%IWMAKE_ROOT%\release_mingw_opensource\LICENSE.PREVIEW.OPENSOURCE"
117
118installer runfunction "Run Examples and Demos"
119installer readmefunction "Show Documentation"
120
121installer module registeruiext
122installer module opensource
123
124# mingw options
125installer module mingw
126installer src mingw "release_mingw_opensource"
127installer makeFileList mingw "release_mingw_opensource"
128installer buildDir mingw "build_mingw_opensource"
129installer enable nodirlengthcheck
130
131# public generatable package
132installer openpackage
133
134SectionEnd
135
136# compile the package
137Section NSIS_COMPILE
138installer compile
139SectionEnd
Note: See TracBrowser for help on using the repository browser.