重點關注一下參數,要確定正确
如果是MinGW編譯器Make command:F:\Qt\Qt5.12.5\5.12.5\mingw73_32\bin\qmake.exe
如果是MSVC編譯器Make command:F:\Qt\Qt5.12.5\5.12.5\msvc2017\bin\qmake.exe
Make arguments:F:\tmp-source\qt-hmi\HmiFuncDesigner-master\HmiFuncDesigner\HmiFuncDesigner.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
Profile.xml:F:\profile.xml
其中profile.xml的内容如下:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Profile FormatVersion="1">
<Tools>
<Tool Filename="mingw32-make.exe" AllowRemote="true" />
<Tool Filename="qmake.exe" AllowRemote="true" />
<Tool Filename="jom.exe" AllowRemote="true" />
<Tool Filename="moc.exe" AllowRemote="true" />
<Tool Filename="rcc.exe" AllowRemote="true" />
<Tool Filename="uic.exe" AllowRemote="true" />
<Tool Filename="lupdate.exe" AllowRemote="true" />
<Tool Filename="lrelease.exe" AllowRemote="true" />
</Tools>
</Profile>
6、新增IncrediBuild實作的Make的配置
如果是MinGW編譯器Make command:F:\Qt\Qt5.12.5\Tools\mingw730_32\bin\mingw32-make.exe
如果是MSVC編譯器Make command:F:\Qt\Qt5.12.5\Tools\QtCreator\bin\jom.exe
Make arguments:-j4
profile.xml的檔案内容與第5步相同
7、新增IncrediBuild實作的清除的配置
Make command:F:\Qt\Qt5.12.5\Tools\mingw730_32\bin\mingw32-make.exe
Make arguments:clean -j4
8、Qt Creator主菜單-建構-建構項目
五、聯機的配置
1、舉例兩台電腦,電腦1是伺服器,電腦2是用戶端。兩電腦都需要安裝IncrediBuild。License在電腦1安裝了,電腦2就裝不了了,但是用戶端不需要License也能用于連接配接伺服器。
2、伺服器配置

3、用戶端配置
3、用戶端連接配接上伺服器之後,可以監控的到。隻需在伺服器的Qt Creator點選編譯項目即可,用戶端會自動幫忙分攤。如圖所示的Helping 1 Agent。
恭喜你,提速成功!!
----------------------------------------------------------------附錄---------------------------------------------------------------
incredibuild官方的文檔:
Qt Creator中文官網說明:
https://incredibuild.atlassian.net/wiki/spaces/IUMC/pages/449314876/IncrediBuild+Qt+CreatorQt Creator英文官網說明:
https://incredibuild.atlassian.net/wiki/spaces/IUM/pages/19202836/IncrediBuild+for+Qt+Creatorincredibuild自定義安裝說明:
https://incredibuild.atlassian.net/wiki/spaces/IUMC/pages/449315036incredibuild從Visual Studio 2017内安裝:
https://incredibuild.atlassian.net/wiki/spaces/IUMC/pages/449315118/Visual+Studio+2017incredibuild英文使用者手冊:
https://incredibuild.atlassian.net/wiki/spaces/IUM/overviewincredibuild中文使用者手冊:
https://incredibuild.atlassian.net/wiki/spaces/IUMC/overviewCreating a Profile XML File使用者手冊:
https://incredibuild.atlassian.net/wiki/spaces/IUM/pages/13303979/Creating+a+Profile+XML+File