作者amraam (先進中程)
看板C_and_CPP
標題[問題] QtCreator 在 Windows 下無法編譯通過
時間Thu Mar 12 11:51:36 2009
在 Vista 下裝了 QtCreator 1.0
作最簡單的 HelloWorld 視窗
Tools/Option/qt4 設成之前另外安裝的 qt 4.4.1 路徑
Build 時出現下列訊息
Running build steps for project QtMain...
Creating gdb macros library...
Starting: C:/Qt/4.4.1/bin/qmake.exe C:/Project/Qt/QtFirst/QtMain/QtMain.pro
-spec win32-g++ -r CONFIG+=debug_and_release
Exited with code 0.
Could not find make command: mingw32-make.exe in the build environment
Error while building project QtMain
When executing build step 'Make'
Canceled build.
有什麼方法可以解決
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.146.83.233
1F:推 legnaleurc:MinGW的設定要給QtCreator 03/12 12:33
2F:推 carlcarl:為什麼qt不直接用預設的= =? 03/12 19:13
3F:推 saxontai:因為使用者可能已經先裝過 MinGW,例如 Dev-C++ 或 Code 03/12 19:15
4F:→ saxontai:Blocks,裝 Qt/Qt Creator 時不見得會裝其內附的 MinGW 03/12 19:15
5F:推 saxontai:剛剛把 0.9.1 移除,裝好 1.0,不過兩版都找不到設定 03/12 19:29
6F:→ saxontai:MinGW 路徑的地方,所以我想該設的是 PATH 環境變數。 03/12 19:29
7F:推 saxontai:Qt SDK 2009.01 好肥,我要移除了... Orz 03/12 19:32
8F:推 saxontai:我眼殘 XD 找到了:Tools > Options > Qt4 選擇列表中你 03/12 21:12
9F:→ saxontai:所用的 Qt library 版本,就會看到 MinGW Directory 設定 03/12 21:12