2010年2月20日土曜日

Qt with Visual Stduio 2008

1. Download the Qt libraries 4.6.2 for Windows (VS 2008, 194MB)



2. Unzip the lib. (qt-everywhere-opensource-src-4.6.2.zip)

In my case, unzip to C:\Qt\qt-everywhere-opensource-src-4.6.2

3. Open a Visual studio 2008 command prompt



4. change to the qt library directory.

cd \Qt\qt-everywhere-opensource-src-4.6.2

5. configuration for the make process.

configure -platform win32-msvc2008

6. Build it

nmake

7. Install a visual studio add-in

http://qt.nokia.com/downloads/visual-studio-add-in
http://get.qt.nokia.com/vsaddin/qt-vs-addin-1.1.4.exe

8. Setup the Qt environment

Qt -> Qt options -> Qt Versions in Visual studio menu
Press Add button to add the library path.

0 件のコメント:

コメントを投稿