简体   繁体   English

Qt与Eclipse CDT Juno

[英]Qt with Eclipse CDT Juno

I am having a difficult time trying to find a way to link the Qt library to my Eclipse project. 我正在努力寻找将Qt库链接到Eclipse项目的方法。

The Qt SDK package 4.8.1 with Eclipse CDT Juno 带有Eclipse CDT Juno的Qt SDK包4​​.8.1

Is there a way to link Qt libraries to eclipse? 有没有办法将Qt库链接到eclipse?

UPDATE : It appears that the Eclipse plugin is no longer officially supported but that it's still available via download. 更新 :似乎Eclipse插件不再受到官方支持,但它仍可通过下载获得。 The link below references their ftp site. 以下链接引用了他们的ftp站点。


Nokia provides Eclipse-Qt integration . 诺基亚提供Eclipse-Qt集成 That said, it's unnecessary as it's always possible to use an Eclipse project that's using custom build commands. 也就是说,这是不必要的,因为总是可以使用使用自定义构建命令的Eclipse项目。 You could simply create a makefile project making certain to run qmake at the appropriate times. 您可以简单地创建一个makefile项目 ,确保在适当的时间运行qmake。

To start, it might be as simple as: 首先,它可能很简单:

  • Create a file or two 创建一个或两个文件
  • qmake -project # create your project file qmake -project#创建项目文件
  • qmake # generate your makefile qmake#生成你的makefile
  • # tell eclipse to build the project #告诉eclipse构建项目

If the above, you'd only need to re-run qmake when adding new files and doing other things that affect the qt project file. 如果是上述内容,则只需在添加新文件和执行影响qt项目文件的其他操作时重新运行qmake。

@enobayram Yes it does. @enobayram是的。

The Qt integration pack is 32bit and therefore all depencies like Eclipse / Java / Qt must be also 32bit. Qt集成包是32位,因此所有依赖项如Eclipse / Java / Qt也必须是32位。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM