1. Uncompress the Qt zip file to the dictionary what you want to install Qt into. My dictionary is "C:\Qt-embedded-wince\4.4.3".
2. Open "Visual Studio 2008 Command Prompt" but not "Qt 4.4.3 Command Prompt", this is very important.
3. Modify the environment variable PATH. This is done by adding "C:\Qt-embedded-wince\4.4.3" (or your own dictionary path) to PATH.
4. Configuring Qt
cd C:\Qt-embedded-wince\4.4.1
configure -platform win32-msvc2008 -xplatform wincewm50pocket-msvc2008
These steps are the same as the official article besides the bold parameters.
5. Building Qt
setcepaths wincewm50pocket-msvc2008
nmake
6. 下qmake -tp vc,會產生.vcproj or .sln
之後可以利用vc build
2008年12月24日 星期三
qt 4.4.3 + visual.Studio.Integration.v1.4.0
安裝步驟
1. 解壓縮qt-win-opensource-src-4.4.3.zip,
ex:解壓縮至C:\qt\qt-win-4.4.3
2. 所有程式Microsoft Visual Studio 2008->Visual Studio Tools->
Visual Studio 2008 命令提示字元
切換目錄至C:\qt\qt-win-4.4.3
3. 下configure
4. 下nmake
5. 下nmake clean
6. 增加環境變數 Path=C:\qt\qt-win-4.4.3\bin
QTDIR=C:\qt\qt-win-4.4.3
7. 安裝qt-vsintegration-1.4.0.exe
8. 至vs 當中工具->選項->Qt->builds,增加Name=qt 4.4.3 ,Path=C:\qt\qt-win-4.4.3
PS.如果在link時發生找不到qtcored.lib的話,去更改方案->屬性->連結器->輸入
的其他相依性
1. 解壓縮qt-win-opensource-src-4.4.3.zip,
ex:解壓縮至C:\qt\qt-win-4.4.3
2. 所有程式Microsoft Visual Studio 2008->Visual Studio Tools->
Visual Studio 2008 命令提示字元
切換目錄至C:\qt\qt-win-4.4.3
3. 下configure
4. 下nmake
5. 下nmake clean
6. 增加環境變數 Path=C:\qt\qt-win-4.4.3\bin
QTDIR=C:\qt\qt-win-4.4.3
7. 安裝qt-vsintegration-1.4.0.exe
8. 至vs 當中工具->選項->Qt->builds,增加Name=qt 4.4.3 ,Path=C:\qt\qt-win-4.4.3
PS.如果在link時發生找不到qtcored.lib的話,去更改方案->屬性->連結器->輸入
的其他相依性
訂閱:
文章 (Atom)
winsock2.h redefined問題
解法: #define _WINSOCKAPI_ // stops windows.h including winsock.h #include #include