summaryrefslogtreecommitdiffstats
path: root/util/scripts/win-binary/config/vs2008-eval.conf
diff options
context:
space:
mode:
Diffstat (limited to 'util/scripts/win-binary/config/vs2008-eval.conf')
-rw-r--r--util/scripts/win-binary/config/vs2008-eval.conf127
1 files changed, 127 insertions, 0 deletions
diff --git a/util/scripts/win-binary/config/vs2008-eval.conf b/util/scripts/win-binary/config/vs2008-eval.conf
new file mode 100644
index 0000000..8f50ad0
--- /dev/null
+++ b/util/scripts/win-binary/config/vs2008-eval.conf
@@ -0,0 +1,127 @@
+#extracts the package to buildDir
+extract dest "build_vs2008_evaluation_________________PADDING_________________"
+Section EXTRACT
+extract extUnpack "qt-win-commercial-src-%QT_VERSION%.zip"
+extract extPatch "qt-win-evalpatches-src-%QT_VERSION%.zip"
+#delete line with "activeqt" in examples.pro file (don't build this)
+delete line "build_vs2008_evaluation_________________PADDING_________________\examples\examples.pro" "activeqt"
+SectionEnd
+
+Section GETFILES
+copy extsync debugext
+SectionEnd
+
+#build the binaries
+build begin vs2008 "build_vs2008_evaluation_________________PADDING_________________"
+
+Section CONFIGURE
+build configure "-confirm-license -plugin-sql-sqlite -plugin-sql-odbc -qt-libpng -qt-libjpeg -openssl -D QT_EVAL"
+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_vs2008_evaluation"
+
+copy dest "release_vs2008_evaluation"
+copy src "build_vs2008_evaluation_________________PADDING_________________"
+
+# extract everything once more
+extract dest "release_vs2008_evaluation"
+extract unpack "qt-win-commercial-src-%QT_VERSION%.zip"
+
+# create header files
+copy syncqt
+
+delete destDir "src"
+delete destDir "tools"
+delete destDir "qmake"
+
+# phrasebooks & porting .xml file
+copy files "tools\linguist\phrasebooks\*.qph" "phrasebooks\"
+copy files "tools\porting\src\*.xml" ""
+
+# copying program database files
+copy files "lib\*.pdb" "bin\"
+copy files "src\winmain\*.pdb" "src\winmain\"
+
+# qconfig.h
+copy files "src\corelib\global\qconfig.h" "include\Qt\"
+
+# 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 (vs2008 stuff)
+copy all "*.manifest"
+
+# .prl files
+copy files "lib\*.prl" "lib\"
+
+# assistant help files
+copy all "*.qch"
+
+# remove unused stuff
+delete files "lib\*.dll"
+delete file "configure.exe"
+
+# copy some activeqt stuff needed to compile examples
+copy file "src\activeqt\control\qaxserver.rc"
+copy file "src\activeqt\control\qaxserver.ico"
+copy file "src\activeqt\control\qaxserver.def"
+SectionEnd
+
+Section NSIS
+# general installer options
+installer begin "Qt Evaluation"
+installer version "%QT_VERSION%"
+installer output "c:\iwmake\qt-win-eval-%QT_VERSION%-vs2008.exe"
+installer startmenu "Qt by Nokia v%QT_VERSION% (Eval. VS2008)"
+
+installer enable component_page
+installer enable directory_page
+installer enable startmenu_page
+
+installer instdir msvc 0 "Qt v%QT_VERSION%:"
+
+installer runfunction "Run Examples and Demos"
+installer readmefunction "Show Documentation"
+
+# license checking
+installer module licensecheck
+installer defineDir licensecheck licenseDir "release_vs2008_evaluation"
+installer define licensecheck productlist "UnsupportedEvaluation|SupportedEvaluation|FullSourceEvaluation"
+
+installer module evaluation
+installer module registeruiext
+
+# msvc options
+installer module msvc
+installer src msvc "release_vs2008_evaluation"
+installer makeFileList msvc "release_vs2008_evaluation"
+installer buildDir msvc "build_vs2008_evaluation_________________PADDING_________________"
+installer define msvc vs2008
+
+# compile the package
+installer compile
+installer sign
+SectionEnd