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
-
昨天要回新竹的路上,差點A到一臺摩托車, 可以清楚看到路口是綠燈,可是這位老兄,竟然從左方過來要待轉, 旁邊的女騎士也差點A到他,尖叫了一聲... 緊急煞車的同時,第一次感受到ABS做動,還好平安無事... 奉勸大家車子一定要裝行車記錄器阿~
-
對了,要跟大家推薦一下新竹的家具行, 當初要添購家具的時候,跟小丸子很努力的找遍新竹的家具行, 新竹市的家具行其實很多,大部分集中在新竹市的經國路, 還有中華路五段這兩個部分,竹北也有不少家具行, 不過我們主要還是找新竹市的, 找來找去,發現其實家具很多都是一模一樣的,應該都...
-
之前一直confuse CDialog的UpdateData使用, 今天看書的時候才瞭解, 將data show在控制項時,要用UpdateData(FALSE); ex: DDX_Text(pDX, IDC_EDIT1, m_str); CString tmp("t...