在构建前运行 qmake
为防止增量构建失败,请务必在构建前运行 qmake,尽管这会花费更多时间。请前往Preferences >Build & Run >Qmake ,并选择 “Run qmake on every build ”。

另请参阅 《如何:构建和运行》以及《使用 qmake 构建项目》。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.