問題
今天升級(jí)了一下Xcode,發(fā)現(xiàn)Qt運(yùn)行報(bào)錯(cuò):No rule to make target `xxx'. Stop。
查看Qt編譯輸出為:
The platform SDK has been changed from version 10.14 to version 10.15. This requires a fresh build. Please wipe the build directory completely, including any .qmake.stash and .qmake.cache files generated by qmake.
解決
image.png
如上圖瘟仿,刪除路徑:用戶名/.qmake.stash 文件淹辞,重新編譯即可地沮。還不行的話拓巧,點(diǎn)擊Qt上邊菜單:構(gòu)建->執(zhí)行qmake即可涎永。