qtcreator 無法編譯未來時間的檔案

如果檔案的時間是在目前系統時間的「未來」,qtcreator 會報錯(Qt 5.5.0 版附的 qtcreator)。這時候可以利用 touch 所有檔案的方式將時間更新成系統時間。

find /your/dir -type f -exec touch {} +

Source: https://stackoverflow.com/questions/23281050/makefile-warning-warning-file-main-cpp-has-modification-time-2-1e04-s-in-th/23281832

留言

熱門文章