美文网首页
QT报错:No rule to make target `xxx

QT报错:No rule to make target `xxx

作者: 觉醒的苍红之刃 | 来源:发表于2019-09-25 14:04 被阅读0次

    问题

    今天升级了一下Xcode,发现Qt运行报错: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 文件,重新编译即可。还不行的话,点击Qt上边菜单:构建->执行qmake即可。

    相关文章

      网友评论

          本文标题:QT报错:No rule to make target `xxx

          本文链接:https://www.haomeiwen.com/subject/krnmuctx.html