summaryrefslogtreecommitdiffstats
path: root/util/scripts/win-binary/config/mingw-opensource.conf
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-04-17 14:06:06 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-04-17 14:06:06 (GMT)
commitf15b8a83e2e51955776a3f07cb85ebfc342dd8ef (patch)
treec5dc684986051654898db11ce73e03b9fec8db99 /util/scripts/win-binary/config/mingw-opensource.conf
downloadQt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.zip
Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.gz
Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.bz2
Initial import of statemachine branch from the old kinetic repository
Diffstat (limited to 'util/scripts/win-binary/config/mingw-opensource.conf')
-rw-r--r--util/scripts/win-binary/config/mingw-opensource.conf95
1 files changed, 95 insertions, 0 deletions
diff --git a/util/scripts/win-binary/config/mingw-opensource.conf b/util/scripts/win-binary/config/mingw-opensource.conf
new file mode 100644
index 0000000..88e8c9e
--- /dev/null
+++ b/util/scripts/win-binary/config/mingw-opensource.conf
@@ -0,0 +1,95 @@
+#extracts the package to buildDir
+
+extract dest "build_mingw_opensource"
+Section EXTRACT
+extract extUnpack "qt-win-opensource-src-%QT_VERSION%.zip"
+SectionEnd
+
+#build the binaries
+build begin mingw "build_mingw_opensource"
+
+Section CONFIGURE
+build configure "-confirm-license -debug-and-release -plugin-sql-sqlite -plugin-sql-odbc -qt-libpng -qt-libjpeg -openssl"
+SectionEnd
+
+Section BUILD
+build bin
+SectionEnd
+
+build finish
+
+# organize release files
+Section ORGANIZE
+delete dir "release_mingw_opensource"
+
+copy dest "release_mingw_opensource"
+copy src "build_mingw_opensource"
+
+# extract everything once more
+extract dest "release_mingw_opensource"
+extract unpack "qt-win-opensource-src-%QT_VERSION%.zip"
+
+# qconfig.h
+copy file "src\corelib\global\qconfig.h"
+copy file "include\QtCore\qconfig.h"
+copy file "include\Qt\qconfig.h"
+
+# qconfig.pri
+copy file "mkspecs\qconfig.pri"
+
+# .qmake.cache
+copy file ".qmake.cache"
+
+# default mkspec
+copy files "mkspecs\default\*" "mkspecs\default\"
+
+# copy all binary files
+copy all "*.a"
+copy all "*.exe"
+copy all "*.dll"
+
+# .prl files
+copy files "lib\*.prl" "lib\"
+
+# assistant help files
+copy all "*.qch"
+
+# remove unused stuff
+delete files "lib\*.dll"
+
+# copy InetLoad license info
+copy files "..\INetLoad\Readme.txt" "src\3rdparty\InetLoad\"
+
+SectionEnd
+
+Section NSIS
+# general installer options
+installer begin "Qt OpenSource"
+installer version "%QT_VERSION%"
+installer output "c:\iwmake\qt-win-opensource-%QT_VERSION%-mingw.exe"
+installer startmenu "Qt by Nokia v%QT_VERSION% (OpenSource)"
+installer enable component_page
+installer enable directory_page
+installer enable startmenu_page
+installer instdir mingw 0 "Qt Installation Directory"
+installer licenseFile "%IWMAKE_ROOT%\release_mingw_opensource\.LICENSE-MERGED-GPL2-GPL3"
+#installer licenseFile "%IWMAKE_ROOT%\release_mingw_opensource\LICENSE.PREVIEW.OPENSOURCE"
+
+installer runfunction "Run Examples and Demos"
+installer readmefunction "Show Documentation"
+
+installer module registeruiext
+installer module opensource
+
+# mingw options
+installer module mingw
+installer src mingw "release_mingw_opensource"
+installer makeFileList mingw "release_mingw_opensource"
+installer buildDir mingw "build_mingw_opensource"
+installer enable nodirlengthcheck
+SectionEnd
+
+# compile the package
+Section NSIS_COMPILE
+installer compile
+SectionEnd