Saturday, March 22, 2008

No more patch for QT4 Open Source with MSVC2005

There is no more needs for apply patch to make QT4 Open Source with MSVC2005

Simply download source zip file and unzip it and configure it with QMAKESPEC

run command prompt from MSVC2005 command prompt
SET QMAKESPEC=win32-msvc2005
cd %QTDIR%
configure
   debug-and-release
   -qt-sql-odbc (optional)
   -qt-sql-sqlite (optional)
   -no-qt3support (optional)
nmake sub-src // Build debug and release library
nmake sub-tools release // build release executable for tools

%QTDIR%\bin\qmake -project -t vcapp // make .pro file with template option
%QTDIR%\bin\qmake // make .vcproj file to work with MSVC2005 IDE

Now it's good to go for debug and release

Friday, February 01, 2008

Civilization IV, Set Unit Rally Point

Left Click City (Shift or Alt to select group of cities) , Shift-Right
click on tile.

If rally point is the city, must deselect the target city first.
(Shift Left Click City)

Tuesday, August 21, 2007

Just a test, don't panic :)

Online Booking Engine





Change Vehicle



Rental Vehicle Selection



Pick Up: 09:00 on Monday, 27 August 2007

Auckland
Drop Off: 16:00 on Thursday, 30 August 2007

Auckland
Vehicle: 8 SEAT TOYOTA PREVIA MPV
Hire Status: On Request
Hire Period: 4 Days
Total Cost: NZD476.00
Capacity:
2003-2006 Toyota Previa 2400cc MPV. Daily rate includes GST (NZ sales tax), unlimited kilometres, std insurance ($1,000 excess) and 24 hr AA roadside assist





Configure Options & Additional Services



Vehicle Hire    Details ... 

$436.00

Web rate $109.00 x 4 days $436.00
Insurance    Details ... 

$40.00

Standard Insurance($1000 excess) $0.00 $0.00

Full Insurance(no excess) $10.00 x 4 days $40.00
Optional Extras    Details ... 

$0.00

Child Booster Seat $0.00 each $0.00

Child Car Seat $0.00 each $0.00

Snow chains $0.00 $0.00

Ski Racks (select qty) $0.00 each $0.00

Snowboard Racks (select qty) $0.00 each $0.00

Mobile phone $4.00 x 4 days $0.00
Special Offers    Details ... 

$0.00


FREE: Copy of NZ Driving Holidays guidebook $0.00 $0.00

Total Cost   NZD476.00




Monday, August 20, 2007

How to work Teambots with Eclipse

1. Install Teambot at %tb%
2. Install Eclipse-JDT at %eclipse%
3. Edit demo.bat from %tb%Domains\SoccerBots\teams
Add CLASSPATH for %tb%src;%tb%Domains\SoccerBots\teams
4. Start Eclipse project file with existing code
5. Select %tb%Domains\SoccerBots\teams directory
6. Check to allow output will be on source directory
7. Add buildpath for classpath %tb%src on next page
You're ready for code

Thursday, August 16, 2007

QT4.3.1 MinGW static configure setting

FROM QTVARS.BAT
set QTDIR=C:\Qt\4.3.1-static
set PATH=C:\Qt\4.3.1-static\bin
set PATH=%PATH%;C:\MinGW\bin
set PATH=%PATH%;%SystemRoot%\System32
set QMAKESPEC=win32-g++
set INCLUDE=
set LIB=

ON CONFIGURE.EXE
-static
-debug-and-release (option)
-qt-sql-odbc
-qt-sql-sqlite
-no-qt3support (option)

MAKEFILE
mingw32-make.exe sub-src

Saturday, August 04, 2007

Qt 4.3: Deploying an Application on Qt/Windows

Qt 4.3: Deploying an Application on Qt/Windows

In brief

(1) Compile QT with -static option
(2) qmake -project -config release "CONFIG += static" "CONFIG += embed_manifest_exe" "CONFIG-=embed_manifest_dll"
(3) qmake
(4) nmake
(5) package executable with \VC\redist\\Microsoft.VC80.CRT directory

* Haven't find way to integrated with IDE yet, however it could used only for releasing
* OpenCV is better to work with DLLs

QT OpenSource with Visual Studio

SourceForge.net: Files

QT Opensource patch for Visual Studio

Instruction



Download QT open source for win32

Download QT patch

Unzip them

Use MSVC command prompt

set QTDIR=%SOMEWHERE%

run patch

qconfigure.bat msvc2005 %OTHER OPTIONS%

follow the screen instruction

To build solution project file



set PATH=%PATH%;%QTDIR%/bin

set QMAKESPEC=win32-msvc2005

qmake -project -t vcapp

qmake