码迷,mamicode.com
首页 > 其他好文 > 详细

qt creator报错处理积累

时间:2014-05-29 02:25:59      阅读:532      评论:0      收藏:0      [点我收藏+]

标签:des   style   c   blog   tar   http   

1.

在进行qt creator编译qt工程时,报出错误:error while building deploying project。

还可能出现如下提示

qt creator needs a tool chain set up to build. configure a tool chain in projects mode

bubuko.com,布布扣

 

这种情况出现在我打开过去的工程时,而新建的工程却没有出现这个错误。

下面给出解决方案:

1.在报错工程打开情况下,点击qt creator左侧projects栏

bubuko.com,布布扣

在General栏的build directory内重新加载一下该工程的xxx-build-desktop-Qt_xxx_Qt_xxx_Debug。(默认该部分为灰色非使能,点击下面的import exiting build即可使能。)

 

该操作完成后即可正常编译!

 

我想,之所以出现这种情况,是因为重新为qt creator加载过qmake(方法参考http://blog.csdn.net/lyc_daniel/article/details/12942985),这导致新配置的qt creator再编译就工程时找不到debug目录。

 

qt creator报错处理积累,布布扣,bubuko.com

qt creator报错处理积累

标签:des   style   c   blog   tar   http   

原文地址:http://www.cnblogs.com/zhouwenJS/p/3754355.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!