4.6.3 Tool Chain
The 4.6.3 tool chain is used for the BPS versions 2.4 and up.
The listed setup is based on a plain Windows 7 Enterprise (x64, German) with current updates. Other editions, languages and 32 bit versions of Windows 7 will work similar.
The components are installed in the following order:
- 7-Zip 4.65
- Notepad++ 5.6.8
- Visual Studio 2005 Professional
- Visual Studio 2005 SP1
- Visual Studio 2005 SP1 Update for Vista
- Windows SDK for Vista
- Ankh SVN 2.1
- PostgreSQL 8.4.4
- Oracle Instant Client 11g Release 2
- Oracle SQL Developer 2.1.1
- Project Folder
- Qt 4.6.3
- Qt Property Browser 4.5
- Qt Service 4.6
- Qt VS Integration 1.1.5
- Doxygen 1.7.0
- MSI Factory 2.1
7-Zip 4.65
- Run 7z465.exe
- Choose installation location
- Accept default
- Install
- Complete
- Finish
Notepad++ 5.6.8
- npp.5.6.8.Installer.exe
- Language
- Deutsch
- Willkommen
- Weiter
- Lizenzabkommen
- Annehmen
- Zielverzeichnis
- Vorschlag belassen
- Weiter
- Komponenten auswählen
- Vorschlag belassen
- Installieren
- Abgeschlossen
- Fertig stellen
- Updates installieren
Visual Studio 2005 Professional
- Start from cd #1: setup.exe
- Welcome screen
- Install Visual Studio 2005
- Loading completed
- Next
- Start page
- Accept license agreement
- Enter product key
- Enter name
- Next
- Options page
- Custom
- Keep default install path
- Next
- Options page 2
- Install
- Insert CD 2
- OK
- Compatibility warning
- Execute program
- Finish page
- Finish
- Welcome screen
- Exit
Visual Studio 2005 SP1
- Copy VS80sp1-KB926601-X86-ENU.exe to a local disk
- Create instsp1.bat in same location:
reg export HKLM\Software\Policies\Microsoft\Windows\Installer installer.reg reg add HKLM\Software\Policies\Microsoft\Windows\Installer /v MaxPatchCacheSize /t REG_DWORD /d 0 /f net stop msiserver start /wait VS80sp1-KB926601-X86-ENU.exe reg delete HKLM\Software\Policies\Microsoft\Windows\Installer /v MaxPatchCacheSize /f reg import installer.reg net stop msiserver del /q installer.reg 2>nul
- Execute instsp1.bat
- Do you want to install ….. ?
- OK
- EULA
- I accept
- … was successfully installed …
- OK
Visual Studio 2005 SP1 Update for Vista
- Copy VS80sp1-KB932232-X86-ENU.exe to a local disk
- Run
- Do you want to install ….. ?
- OK
- EULA
- I accept
- … was successfully installed …
- OK
- Reboot
Windows SDK for Vista
- Insert DVD
- Run setup.exe
- Setup wizard
- Next
- End-User License Agreement
- I Agree
- Next
- Install locations
- Accept defaults
- Next
- Installation options
- Next
- Begin installation
- Next
- Installation complete
- Uncheck “View release notes”
- Finish
Ankh SVN 2.1
- AnkhSvn-2.1.8420.8.msi
- License agreement
- Check “I accept…”
- Install
- Completed
- Finish
PostgreSQL 8.4.4
- Run one click installer postgresql-8.4.4-1-windows.exe
- Setup - PostgreSQL Wizard
- Next
- Installation directory
- Accept default
- Next
- Data directory
- Select/create D:\postgres
- Next
- Password
- Enter desired password 2x
- Next
- Port
- Accept default 5432
- Next
- Advanced options
- Accept default settings
- Next
- Ready to install
- Next
- Completing
- Uncheck “Launch stack builder”
- Finish
Oracle Instant Client 11g Release 2
- Unzip from instantclient-basiclite-win32-11.2.0.1.0.zip
- instantclient_11_2 to d:\oracle
- Unzip from instantclient-sdk-win32-11.2.0.1.0.zip
- instantclient_11_2 to d:\oracle
- Rename d:\oracle\instantclient_11_2 to d:\oracle\instantclient
- Create d:\oracle\tnsnames.ora. For example as:
JUPITER = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = jupiter)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = jupiter.ibkdev) ) )
Oracle SQL Developer 2.1.1
- Unzip from sqldeveloper-2.1.1.64.45.zip
- sqldeveloper to d:\oracle
Project Folder
- Create D:\Projekte\VisualStudio
- Create file D:\Projekte\VisualStudio\ibkQtVars463.bat as listed.
Replace all%ProgramFiles(x86)%by%ProgramFiles%on 32 bit Windows:@echo off call "%ProgramFiles(x86)%\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat" set NEWSDK=%ProgramFiles%\Microsoft SDKs\Windows\v6.0 set PATH=%NEWSDK%\bin;%PATH% set LIB=%NEWSDK%\Lib;%LIB% set INCLUDE=%NEWSDK%\Include;%INCLUDE% set QTDIR=D:\Qt\4.6.3 set QMAKESPEC=win32-msvc2005 set PATH=%QTDIR%\bin;%PATH% set LIB=%QTDIR%\lib;%LIB% set INCLUDE=%QTDIR%\include;%INCLUDE% set INCLUDE=%QTDIR%\include\ActiveQt;%INCLUDE% set INCLUDE=%QTDIR%\include\phonon;%INCLUDE% set INCLUDE=%QTDIR%\include\Qt;%INCLUDE% set INCLUDE=%QTDIR%\include\Qt3Support;%INCLUDE% set INCLUDE=%QTDIR%\include\QtAssistant;%INCLUDE% set INCLUDE=%QTDIR%\include\QtCore;%INCLUDE% set INCLUDE=%QTDIR%\include\QtDBus;%INCLUDE% set INCLUDE=%QTDIR%\include\QtDeclarative;%INCLUDE% set INCLUDE=%QTDIR%\include\QtDesigner;%INCLUDE% set INCLUDE=%QTDIR%\include\QtGui;%INCLUDE% set INCLUDE=%QTDIR%\include\QtHelp;%INCLUDE% set INCLUDE=%QTDIR%\include\QtMultimedia;%INCLUDE% set INCLUDE=%QTDIR%\include\QtNetwork;%INCLUDE% set INCLUDE=%QTDIR%\include\QtOpenGL;%INCLUDE% set INCLUDE=%QTDIR%\include\QtScript;%INCLUDE% set INCLUDE=%QTDIR%\include\QtScriptTools;%INCLUDE% set INCLUDE=%QTDIR%\include\QtSql;%INCLUDE% set INCLUDE=%QTDIR%\include\QtSvg;%INCLUDE% set INCLUDE=%QTDIR%\include\QtTest;%INCLUDE% set INCLUDE=%QTDIR%\include\QtUiTools;%INCLUDE% set INCLUDE=%QTDIR%\include\QtWebkit;%INCLUDE% set INCLUDE=%QTDIR%\include\QtXml;%INCLUDE% set INCLUDE=%QTDIR%\include\QtXmlPatterns;%INCLUDE% set INCLUDE=%QTDIR%\solutions\qtpropertybrowser\src;%INCLUDE% set LIB=%QTDIR%\solutions\qtpropertybrowser\lib;%LIB% set INCLUDE=%QTDIR%\solutions\qtservice\src;%INCLUDE% set LIB=%QTDIR%\solutions\qtservice\lib;%LIB% set TNS_ADMIN=D:\oracle set ORACLE_HOME=D:\oracle\instantclient set PATH=%ORACLE_HOME%;%PATH% set INCLUDE=%ORACLE_HOME%\sdk\include;%INCLUDE% set LIB=%ORACLE_HOME%\sdk\lib\msvc;%LIB% set PGSQLDIR=%ProgramFiles(x86)%\PostgreSQL\8.4 set PATH=%PGSQLDIR%\bin;%PGSQLDIR%\lib;%PATH% set INCLUDE=%PGSQLDIR%\include;%INCLUDE% set LIB=%PGSQLDIR%\lib;%LIB% if not "%1"=="vsstart" goto ENDSTARTVS devenv /useenv :ENDSTARTVS
- Create the shortcut Command Prompt with Qt 4.6.3:
- Target:
%COMSPEC% /k cd /d D:\Projekte\VisualStudio && ibkQtVars463.bat - Execute in:
D:\Projekte\VisualStudio - Click the Advanced… button and check Execute as administrator
- Create the shortcut Visual Studio with Qt 4.6.3:
- Target:
%COMSPEC% /c cd /d D:\Projekte\VisualStudio && ibkQtVars463.bat vsstart - Execute in:
D:\Projekte\VisualStudio - Click the Advanced… button and check Execute as administrator
Qt 4.6.3
- copy qt-everywhere-commercial-src-4.6.3.zip to D:\
- Right click
- 7-Zip
- Extract files…
- to: D:\Qt
- Rename D:\Qt\qt-everywhere-commercial-src-4.6.3 to D:\Qt\4.6.3
- Open qt-license-4.6.3 with Notepad++
- Save as C:\Benutzer\<yourname>\.qt-license
- Apply patches:
- D:\Qt\4.6.3\src\gui\itemviews\qlistwidget.h
- D:\Qt\4.6.3\src\gui\widgets\qcombobox.h
- Move “addItems” to “public Q_SLOTS”
- Run “Command Prompt with Qt 4.6.3”
- cd \Qt\4.6.3
- configure -plugin-sql-psql -plugin-sql-oci -no-webkit
- y
- nmake
Qt Property Browser 4.5
- Right click qtpropertybrowser-2.5-commercial.zip
- 7-Zip
- Extract files…
- to: D:\Qt\4.6.3\solutions
- Rename D:\Qt\4.6.3\solutions\qtpropertybrowser-2.5-commercial
to D:\Qt\4.6.3\solutions\qtpropertybrowser - Run “Command Prompt with Qt 4.6.3”
- cd \Qt\4.6.3\solutions\qtpropertybrowser
- configure -library
- 2
- yes
- qmake
- nmake
- Run assistant.exe
- Edit - Preferences - Documentation - Add…
- D:\Qt\4.6.3\solutions\qtpropertybrowser\doc\html\qtpropertybrowser.qch
Qt Service 4.6
- Right click qtservice-2.6-commercial.zip
- 7-Zip
- Extract files…
- to: D:\Qt\4.6.3\solutions
- Rename D:\Qt\4.6.3\solutions\qtservice-2.6-commercial
to D:\Qt\4.6.3\solutions\qtservice - Run “Command Prompt with Qt 4.6.3”
- cd \Qt\4.6.3\solutions\qtservice
- configure -library
- 2
- yes
- qmake
- nmake
- Run assistant.exe
- Edit - Preferences - Documentation - Add…
- D:\Qt\4.6.3\solutions\qtservice\doc\html\qtservice.qch
Qt VS Integration 1.1.5
- Run qt-vs-addin-1.1.5.exe
- License agreement
- I accept….
- Next
- Choose components
- Acceps defaults
- Next
- Choose install location
- Accept default folder
- Install
- Completed
- Finish
- Run “Visual Studio with Qt 4.6.3”
- Qt - Qt Options
- Name: 4.6.3 Path: D:\Qt\4.6.3
- Default Qt/Win version: 4.6.3
- OK
Checkout BPS2 from SVN
This is what we do for core development as IBK Software AG. You may do similar with your own modules in case you have a SVN server. Otherwise you would manually copy the projects you got from IBK or somebody else.
- File - Open - Subversion project…
- Blue world icon ”+”
- OK
- Enter username+password, save password
- BPS2/branches/2.3/BPS2.sln
- Open
- Type: Latest Version
- Local directory: D:\Projekte\VisualStudio\BPS2
- OK
- Solution explorer
- Right click “Solution 'BPS2'….”
- Change solutions qt version
- 4.6.3
- OK
- Right click “workplace”
- Set as startup project
- Build solution (F7)
- Do same for the “BPS2 Samples” project.
Doxygen 1.7.0
- doxygen-1.7.0-setup.exe
- Welcome
- Next
- License agreement
- I accept…
- Next
- Destination folder
- Accept default
- Next
- Select components
- Accept defaults
- Next
- Start menu folder
- Accept default
- Next
- Ready to install
- Install
- Information
- Next
- Completing
- Finish
- Create D:\www\ibk-software.com
- Visual Studio
- Documentation - bps2cpp - bps2cpp.doxyfile
- Open with…
- Add…
- Program name: “C:\Program Files\doxygen\bin\doxywizard.exe”
- Friendly name: Doxygen Wizard
- OK
- Set as default
MSI Factory 2.1
- MSIFactoryCom-2.1.1009.0.exe
- Welcome
- Next
- Customer information
- Fill in user name, organization and serial number
- Next
- EULA
- I accept….
- Next
- Destination folder
- Accept default
- Next
- User profile
- All users
- Next
- Ready to install
- Install
- Completed
- Finish


