4.8.0 Werkzeugsatz
Es handelt sich um eine Spiegelung des entsprechenden Kapitels von der englischen Seite.
The 4.8.0 toolset is used for the BPS versions 2.17.0 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 order of the chapters below.
7-Zip
- Run 7z920-x64.msi
- Choose installation location
- Accept default
- Install
- Complete
- Finish
Notepad++
- npp.6.0.Installer.exe
- Language
- Deutsch
- Willkommen
- Weiter
- Lizenzabkommen
- Annehmen
- Zielverzeichnis
- Vorschlag belassen
- Weiter
- Komponenten auswählen (1)
- Vorschlag belassen
- Weiter
- Komponenten auswählen (2)
- Vorschlag belassen
- Installieren
- Abgeschlossen
- Fertig stellen
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
- Open Administrator cmd command line, change to the directory and 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
Further Updates
- A number of further updates have been release since, which can be installed through Windows Update.
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
- AnkhSvn-2.3.10838.msi
- License agreement
- Check „I accept…“
- Install
- Completed
- Finish
PostgreSQL
- Run one click installer postgresql-9.1.3-1-windows.exe
- Setup - PostgreSQL .. Welcome
- 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
- Unzip from instantclient-basiclite-win32-11.2.0.2.0.zip
- instantclient_11_2 to d:\oracle
- Unzip from instantclient-sdk-win32-11.2.0.2.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) ) ) - Add the following to the end of the system's PATH:
;D:\oracle\instantclient\
Oracle SQL Developer
- Download the 32-bit windows software including JDK
- Right click on sqldeveloper-3.1.07.42.zip
- 7-Zip
- Extract files…
- to: D:\oracle
- Try running by double-clicking on D:\oracle\sqldeveloper\sqldeveloper.exe
- If it starts, fine
- If a error message pops up about MSVCR71.dll missing:
Copy MSVCR71.dll from D:\oracle\sqldeveloper\jdk\bin\new_pluging to D:\oracle\sqldeveloper\ and retry
Project Folder
- Create D:\Projekte\VisualStudio
- Create file D:\Projekte\VisualStudio\ibkQtVars480.bat as listed:
@echo off if exist "%windir%\SysWOW64" goto WIN64 set PROG32=%ProgramFiles% goto GOTPROG :WIN64 set PROG32=%ProgramFiles(x86)% :GOTPROG call "%PROG32%\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.8.0 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\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\QtOpenVG;%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=%PROG32%\PostgreSQL\9.1 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.8.0:
- Target:
%COMSPEC% /k cd /d D:\Projekte\VisualStudio && ibkQtVars480.bat - Execute in:
D:\Projekte\VisualStudio - Click the Advanced… button and check Execute as administrator
- Create the shortcut Visual Studio with Qt 4.8.0:
- Target:
%COMSPEC% /c cd /d D:\Projekte\VisualStudio && ibkQtVars480.bat vsstart - Execute in:
D:\Projekte\VisualStudio - Click the Advanced… button and check Execute as administrator
Qt
- copy qt-everywhere-commercial-src-4.8.0.zip to D:\
- Right click
- 7-Zip
- Extract files…
- to: D:\Qt
- Rename D:\Qt\qt-everywhere-commercial-src-4.8.0 to D:\Qt\4.8.0
- Open DistLicenseFile.txt with Notepad++
- Save as C:\Benutzer\<yourname>\.qt-license
- Apply patches:
- D:\Qt\4.8.0\src\gui\itemviews\qlistwidget.h
- D:\Qt\4.8.0\src\gui\widgets\qcombobox.h
- Move „addItems“ to „public Q_SLOTS“
- Apply temporary fix for https://bugreports.qt.nokia.com/browse/QTBUG-18201
- D:\Qt\4.8.0\src\3rdparty\javascriptcore\JavaScriptCore\wtf\RefCountedLeakCounter.cpp
- Comment statement in line 71:
/*LOG(RefCountedLeaks, „LEAK: %u %s“, m_count, m_description)*/;
- Create folder D:\Qt\4.8.0\bin\obsolete
- Move D:\Qt\4.8.0\bin\syncqt* to obsolete
- Run „Command Prompt with Qt 4.8.0“
- cd \Qt\4.8.0
- configure -plugin-sql-psql -plugin-sql-oci
- y
- nmake
Qt Solutions
Qt solutions are no longer officially supported by Nokia, however they can be downloaded from the Qt git archive, and for the time being they are working unchanged.
To download, go to the topmost source tree level and click Download master as tar.gz. Save the file somewhere on your disk (outside the bps project). Right click on qt-solutions-qt-solutions-master.tar.gz, then click 7-Zip and unpack here. Repeat unzip on qt-solutions-qt-solutions-master.tar so you finally get the unpacked folder qt-solutions-qt-solutions-master.
Create folder D:\Qt\4.8.0\solutions.
Qt Property Browser
- Copy directory qtpropertybrowser from within qt-solutions-qt-solutions-master to D:\Qt\4.8.0\solutions
- Edit common.pri with notepad++
- change
QTPROPERTYBROWSER_LIBNAME = $$qtLibraryTarget(QtSolutions_PropertyBrowser-head)
to
QTPROPERTYBROWSER_LIBNAME = $$qtLibraryTarget(QtPropertyBrowser)
- Run „Command Prompt with Qt 4.8.0“
- cd \Qt\4.8.0\solutions\qtpropertybrowser
- configure -library
- qmake
- nmake
- cd doc\html
- qhelpgenerator qtpropertybrowser.qhp
- Run assistant.exe
- Edit - Preferences - Documentation - Add…
- D:\Qt\4.8.0\solutions\qtpropertybrowser\doc\html\qtpropertybrowser.qch
Qt Service
- Copy directory qtservice from within qt-solutions-qt-solutions-master to D:\Qt\4.8.0\solutions.
- Edit common.pri with notepad++
- change
QTSERVICE_LIBNAME = QtSolutions_Service-head
to
QTSERVICE_LIBNAME = QtService
- Run „Command Prompt with Qt 4.8.0“
- cd \Qt\4.8.0\solutions\qtservice
- configure -library
- qmake
- nmake
- cd doc\html
- qhelpgenerator qtservice.qhp
- Run assistant.exe
- Edit - Preferences - Documentation - Add…
- D:\Qt\4.8.0\solutions\qtservice\doc\html\qtservice.qch
Qt VS Integration
- Run qt-vs-addin-1.1.10.exe
- License agreement
- I accept….
- Next
- Choose components
- Acceps defaults
- Next
- Choose install location
- Accept default folder
- Install
- Installation Complete
- Next
- Finish
- Run „Visual Studio with Qt 4.8.0“
- Qt - Qt Options
- Name: 4.8.0 Path: D:\Qt\4.8.0
- Default Qt/Win version: 4.8.0
- OK
Visual Assist X
- Run VA_X_Setup1833.exe
- Select which IDEs you want to install to:
- Pre-201 versions of MS Visual Studio
- Install
- Destination Folder
- Accept default
- Next
- Success page
- Finish
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.
Start Visual Studio by the shortcut „Visual Studio with Qt 4.8.0“:
- File - Open - Subversion project…
- Blue world icon “+“
- OK
- Enter username+password, save password
- BPS2/branches/2.17.0/BPS2.sln
- Open
- Type: Latest Version
- Local directory: D:\Projekte\VisualStudio\BPS2
- OK
- Solution explorer
- Right click „Solution 'BPS2'….“
- Change solutions qt version
- 4.8.0
- OK
- Right click „workplace“
- Set as startup project
- Build solution (F7)
- Do same for the „BPS2 Samples“ project.
Doxygen
- doxygen-1.8.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
- MSIFactoryCom-2.1.1020.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
TortoiseSVN
- TortoiseSVN-1.7.6.22632-x64-svn-1.7.4.msi or
TortoiseSVN-1.7.6.22632-win32-svn-1.7.4.msi respectively - Welcome
- Next
- EULA
- I accept….
- Next
- Custom Setup
- Accept defaults
- Next
- Ready to install
- Install
- Completing
- Finish
- Restart notice
- No
- LanguagePack_1.7.4.22459-x64-de.msi or
LanguagePack_1.7.4.22459-win32-de.msi respectively - Welcome
- Next
- Completion
- Finish
- Reboot


