QT Eclipse集成 - 添加外部Libs [英] QT Eclipse Integration - Adding External Libs

查看:184
本文介绍了QT Eclipse集成 - 添加外部Libs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了最新的eclipse + cdt + mingw + qt + qt-eclipse-integration。



我有2个问题:


  1. 当我创建新 - > Qt Gui项目时,它不会添加mingw includes(当我点击新增的c + +项目添加它们)

  2. 我也想用boost。如何告诉eclipse / qmake来添加.lib?

谢谢
Chris

解决方案

我找到解决方案:)
如果要将外部包含路径或库添加到项目中,则必须修改xxxx。亲文件
此处的详细信息:
http:// doc .trolltech.com / 4.5 / qmake-variable-reference.html#includepath



祝你好运!
Istvan


I have set up the latest eclipse+cdt + mingw + qt + qt-eclipse-integration.

I have 2 Problems:

  1. When i create "New -> Qt Gui Project" it doesn't add the mingw includes (when i click new c++ project it adds them)
  2. I would like to use boost, too. How do I tell eclipse/qmake to add the .lib's ?

Thank you Chris

解决方案

I found the solution :) If you want to add external include path or library to the project, then you have to modifye the xxxx.pro file-t. Details here: http://doc.trolltech.com/4.5/qmake-variable-reference.html#includepath

Good luck! Istvan

这篇关于QT Eclipse集成 - 添加外部Libs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆