diff options
Diffstat (limited to 'util/scripts/win-binary/config/vs2005-commercial.conf')
-rw-r--r-- | util/scripts/win-binary/config/vs2005-commercial.conf | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/util/scripts/win-binary/config/vs2005-commercial.conf b/util/scripts/win-binary/config/vs2005-commercial.conf new file mode 100644 index 0000000..1529638 --- /dev/null +++ b/util/scripts/win-binary/config/vs2005-commercial.conf @@ -0,0 +1,113 @@ +#extracts the package to buildDir +extract dest "build_vs2005_commercial_________________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_vs2005_commercial_________________PADDING_________________\examples\examples.pro" "activeqt" +SectionEnd + +#build the binaries +build begin vs2005 "build_vs2005_commercial_________________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_vs2005_commercial" + +copy dest "release_vs2005_commercial" +copy src "build_vs2005_commercial_________________PADDING_________________" + +# extract everything once more +extract dest "release_vs2005_commercial" +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 (vs2005 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-%QT_VERSION%-vs2005.exe" +installer startmenu "Qt by Nokia v%QT_VERSION% (VS2005)" + +installer enable component_page +installer enable directory_page +installer enable startmenu_page + +installer instdir msvc 0 "Qt Installation Directory" + +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_vs2005_commercial" +installer define licensecheck productlist "Universal|Desktop|DesktopLight|Console|FullSourceEvaluation|Academic|Educational" + +installer module registeruiext + +# msvc options +installer module msvc +installer src msvc "release_vs2005_commercial" +installer makeFileList msvc "release_vs2005_commercial" +installer buildDir msvc "build_vs2005_commercial_________________PADDING_________________" +installer define msvc vs2005 + +# compile the package +installer compile +installer sign +SectionEnd |