Error while building/deploying project QTtest (kit: Desktop Qt 5.9.0 MinGW 32bit)When executing~

Qt 5.9.0编译
Error while building/deploying project QTtest (kit: Desktop Qt 5.9.0 MinGW 32bit)When executing step “qmake”

一、方法一

在这里插入图片描述
再编译应该就可以了
如果不可以的话方法二

二、方法二

其实后来我发现不用去掉那个√也可以~
把qt关掉重新打开项目就好了~或者检查一下你的qt项目路径有无中文,最好是不要有,虽然我的有中文也还是可以运行成功的,我也不知道为什么。。。
在这里插入图片描述
我是菜鸟,以上内容若有错误,还希望各位大佬指正,希望对大家有帮助,谢谢!

  • 10
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 3
    评论
iOS 7 changed everything—get up to speed! iOS 7 is a major shift in the look and feel of apps—the first major sea change since the iPhone was first introduced. For apps to blend in with the new UI, each needs a complete redesign. Beginning iOS Programming: Building and Deploying iOS Applications starts at the beginning—including an introduction to Objective C—and gives you the skills you need to get your apps up and running. Author Nick Harris has extensive experience developing for iOS and provides a solid background for teaching the building blocks of app development. Learn Objective-C and how it differs from other programming languages Turn your app idea into an actionable plan Build each feature with the help of standalone chapters Assemble your project into a real-world iOS app Throughout the book, you’ll be able to experiment with dozens of recipes from real-life scenarios, creating an app as you learn. The book’s website features download sample apps to follow along with the instruction, and sample code to illustrate ideas. Table of Contents Chapter 1: Building a Real-World iOS App: Bands Chapter 2: Introduction to Objective-C Chapter 3: Starting a New App Chapter 4: Creating a User Input Form Chapter 5: Using Table Views Chapter 6: Integrating the Camera and Photo Library in iOS Apps Chapter 7: Integrating Social Media Chapter 8: Using Web Views Chapter 9: Exploring Maps and Local Search Chapter 10: Getting Started with Web Services Chapter 11: Creating a Universal App Chapter 12: Deploying Your iOS App Appendix: Answers to Exercises Book Details Title: Beginning iOS Programming: Building and Deploying iOS Applications Author: Nick Harris Length: 336 pages Edition: 1 Language: English Publisher: Wrox Publication Date: 2014-02-24 ISBN-10: 1118841476 ISBN-13: 9781118841471
这个错误通常是由于Qt Creator无法找到正确的qmake路径导致的。解决这个问题的方法是确保你的Qt安装路径正确配置,并且Qt Creator能够找到qmake可执行文件。以下是一些可能的解决方法: 1. 检查Qt安装路径:打开Qt Creator,点击菜单栏的"工具",然后选择"选项"。在"构建与运行"选项卡下,找到"Kits"选项卡。选择你正在使用的套件(例如"Desktop Qt 5.9.1 MinGW 32bit"),确保"Qt版本"和"Qt mkspecs文件夹"字段正确指向你的Qt安装路径。 2. 检查qmake路径:在Qt Creator中,点击菜单栏的"工具",然后选择"选项"。在"构建与运行"选项卡下,找到"Kits"选项卡。选择你正在使用的套件(例如"Desktop Qt 5.9.1 MinGW 32bit"),确保"qmake路径"字段指向正确的qmake可执行文件路径。对于MinGW套件,一般是在Qt安装路径下的bin文件夹中可以找到。 3. 更新Qt Creator:如果你的Qt安装路径和qmake路径已经正确配置,但仍然遇到问题,尝试更新你的Qt Creator版本,可能有助于解决问题。 4. 重新生成项目:有时候重新生成项目也可以解决这个问题。在Qt Creator中,点击菜单栏的"构建",然后选择"清理项目"和"构建项目",然后再次尝试构建和部署项目。 如果你尝试了以上方法仍然无法解决问题,建议查看Qt Creator的错误输出窗口,看是否有更具体的错误信息。另外,你也可以在Qt论坛或社区寻求帮助,提供更多详细的信息和错误日志以便其他人能够更好地帮助你解决问题。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

是彦歆呀嘻嘻哈哈

你的鼓励将是我的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值