summaryrefslogtreecommitdiffstats
path: root/util/scripts/win-binary/config/vs2003-commercial-vsip.conf
diff options
context:
space:
mode:
Diffstat (limited to 'util/scripts/win-binary/config/vs2003-commercial-vsip.conf')
-rw-r--r--util/scripts/win-binary/config/vs2003-commercial-vsip.conf131
1 files changed, 131 insertions, 0 deletions
diff --git a/util/scripts/win-binary/config/vs2003-commercial-vsip.conf b/util/scripts/win-binary/config/vs2003-commercial-vsip.conf
new file mode 100644
index 0000000..4f3ba8b
--- /dev/null
+++ b/util/scripts/win-binary/config/vs2003-commercial-vsip.conf
@@ -0,0 +1,131 @@
+#extracts the package to buildDir
+extract dest "build_vs2003_commercial_vsip_________________PADDING_________________"
+Section EXTRACT
+extract extUnpack "qt-win-commercial-src-%QT_VERSION%.zip"
+#delete line with "activeqt" in examples.pro file (don't build this)
+delete line "build_vs2003_commercial_vsip_________________PADDING_________________\examples\examples.pro" "activeqt"
+SectionEnd
+
+Section GETFILES
+copy extsync vsip
+copy extsync debugext
+SectionEnd
+
+#build the binaries
+build begin vs2003 "build_vs2003_commercial_vsip_________________PADDING_________________"
+
+Section CONFIGURE
+build configure "-confirm-license -plugin-sql-sqlite -plugin-sql-odbc -qt-libpng -qt-libjpeg -openssl"
+SectionEnd
+
+Section BUILD
+build bin sub-src
+build binInDir "tools"
+build binInDir "demos" release
+build binInDir "examples" release
+build dbPlugins
+SectionEnd
+
+build finish
+
+# organize release files
+Section ORGANIZE
+delete dir "release_vs2003_commercial_vsip"
+
+copy dest "release_vs2003_commercial_vsip"
+copy src "build_vs2003_commercial_vsip_________________PADDING_________________"
+
+# extract everything once more
+extract dest "release_vs2003_commercial_vsip"
+extract unpack "qt-win-commercial-src-%QT_VERSION%.zip"
+
+# copying program database files
+copy files "lib\*.pdb" "bin\"
+copy files "src\winmain\*.pdb" "src\winmain\"
+
+# moc files (exclude release moc files)
+copy filesEx "src\moc_*.cpp" "src\" "release_shared"
+copy filesEx "src\*.moc" "src\" "release_shared"
+
+# 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 "*.lib"
+copy all "*.exe"
+copy all "*.dll"
+
+# copy manifest files (vs2003 stuff)
+copy all "*.manifest"
+
+# .prl files
+copy files "lib\*.prl" "lib\"
+
+# assistant help files
+copy all "*.qch"
+
+# remove unused stuff
+delete files "lib\*.dll"
+SectionEnd
+
+Section NSIS
+# general installer options
+installer begin "Qt Commercial"
+installer version "%QT_VERSION%"
+installer output "c:\iwmake\qt-win-commercial-vsintegration-%QT_VERSION%-vs2003.exe"
+installer startmenu "Qt by Nokia v%QT_VERSION% (VS2003)"
+
+installer enable component_page
+installer enable directory_page
+installer enable startmenu_page
+
+installer instdir msvc 0 "Qt Installation Directory"
+installer instdir vsip 1 "Visual Studio Integration:"
+
+installer runfunction "Run Examples and Demos"
+installer readmefunction "Show Documentation"
+
+#installer define licensecheck license "LICENSE.PREVIEW.COMMERCIAL"
+#installer define licensecheck uslicense "LICENSE.PREVIEW.COMMERCIAL"
+
+# license checking
+installer module licensecheck
+installer defineDir licensecheck licenseDir "release_vs2003_commercial_vsip"
+installer define licensecheck productlist "Universal|Desktop|DesktopLight|Console|FullSourceEvaluation|Academic|Educational"
+
+installer module registeruiext
+
+# msvc options
+installer module msvc
+installer src msvc "release_vs2003_commercial_vsip"
+installer makeFileList msvc "release_vs2003_commercial_vsip"
+installer buildDir msvc "build_vs2003_commercial_vsip_________________PADDING_________________"
+installer define msvc vs2003
+
+# vsip options
+installer module vsip
+installer define vsip version "1.4.0"
+installer define vsip no2005
+installer define vsip no2008
+
+# help options
+installer module help
+
+# debugext options
+installer module debugext
+
+# compile the package
+installer compile
+installer sign
+SectionEnd