<i>It&#39;s seems I can&#39;t post too big contents to list.<br>So, I post the rules.ninja and build.ninja as an attachments to here.</i><b><br><br>After change Core_pch.cpp (add #include &lt;iostream&gt; in it), here is the build log:</b><br>

<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">[1/2] Building CXX object src\plugins\coreplugin\CMakeFiles\Core.dir\Core_pch.cpp.obj<br>
[2/2] Linking CXX shared library lib\qtcreator\plugins\Nokia\Core.dll<br></blockquote><div><br><b>Here is the full log:</b><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">


[1/2] &quot;D:/qpSOFT/MyDEV/tool/cmake/bin/cmcldeps.exe&quot; CXX src\plugins\coreplugin\Core_pch.cpp &quot;src/plugins/coreplugin/CMakeFiles/Core.dir/Core_pch.cpp.obj.d&quot; src\plugins\coreplugin\CMakeFiles\Core.dir\Core_pch.cpp.obj &quot;Note: including file: &quot; &quot;D:/qpSOFT/MyDEV/bin/amd64/cl.exe&quot; D:\qpSOFT\MyDEV\bin\amd64\cl.exe   /nologo /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 -ID:\qpSOFT\MyDEV\sdk\qt\lib\amd64\..\..\include\ -ID:\qpSOFT\MyDEV\sdk\qt\lib\amd64\..\..\include\QtCore -ID:\qpSOFT\MyDEV\sdk\qt\lib\amd64\..\..\mkspecs\amd64\win32-msvc2010    /Yc&quot;D:/qpSOFT/Projects/QtCreator/src/shared/qtcreator_pch.h&quot; /Fp&quot;D:/qpSOFT/Projects/QtCreator/test/src/plugins/coreplugin/Core_pch.pch&quot;  -DCore_EXPORTS -DUNICODE -D_CRT_SECURE_NO_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_CORE_LIB /TP /Fosrc\plugins\coreplugin\CMakeFiles\Core.dir\Core_pch.cpp.obj /Fdsrc\plugins\coreplugin\Core.pdb -c src\plugins\coreplugin\Core_pch.cpp<br>


[2/2] cmd.exe /c cd . &amp;&amp; D:\qpSOFT\MyDEV\tool\cmake\bin\cmake.exe -E vs_link_dll D:\qpSOFT\MyDEV\bin\amd64\link.exe /nologo src\plugins\coreplugin\CMakeFiles\Core.dir\lib.cpp.obj src\plugins\coreplugin\CMakeFiles\Core.dir\Core_pch.cpp.obj  /out:lib\qtcreator\plugins\Nokia\Core.dll /implib:lib\Core.lib /pdb:src\plugins\coreplugin\Core.pdb /dll /version:0.0 /STACK:10000000 /machine:x64  /debug /INCREMENTAL D:\qpSOFT\MyDEV\sdk\qt\lib\amd64\lib\QtCored5.lib
 kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib 
oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  &amp;&amp; cd .<br>
</blockquote> <br></div><b>It&#39;s should re-build lib.cpp,<br>but it doesn&#39;t.</b><br><br><b>Here is the build log use: ninja clean &amp;&amp; ninja &gt;build.log</b><br>
[1/3] Building CXX object src\plugins\coreplugin\<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">CMakeFiles\Core.dir\Core_pch.cpp.obj<br>[2/3] Building CXX object src\plugins\coreplugin\CMakeFiles\Core.dir\lib.cpp.obj<br>

[3/3] Linking CXX shared library lib\qtcreator\plugins\Nokia\Core.dll<br>
LINK : lib\qtcreator\plugins\Nokia\Core.dll not found or not built by the last incremental link; performing full link</blockquote><br><br><div class="gmail_quote">2012/9/24 Peter Kümmel <span dir="ltr">&lt;<a href="mailto:syntheticpp@gmx.net" target="_blank">syntheticpp@gmx.net</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When you post build.ninja and rules.ninja, I&#39;ll have a look at it.</blockquote></div><br><br clear="all"><br>-- <br>

<div><span style="color:rgb(255,0,0)"><u><i>Please don&#39;t ask where I come from, It&#39;s a shame!</i></u></span><br>Best Regards</div>
<div>Yuchen</div><div></div><br>
<div></div>