是否可以使用加载项在Visual Studio 2012中使用Qt4项目? [英] Is it possible to work with Qt4 projects in Visual Studio 2012 using add-ins?

查看:147
本文介绍了是否可以使用加载项在Visual Studio 2012中使用Qt4项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现Qt VS插件1.1.x可以与Visual Studios一起使用,包括2010年。
Qt VS插件1.2.x在VS 2012中不支持Qt4。该插件的任何分支都可以应对吗? VS 2012中的Qt4?

I've found that Qt VS addin 1.1.x worked with Visual Studios including 2010. Qt VS addin 1.2.x does not support Qt4 in VS 2012. Are there any forks of this addin which can cope with Qt4 in VS 2012?

推荐答案

是的,可以使用VS插件1.2.2。我在Visual Studio 2012中将这个插件版本和Qt 4.8.1一起使用。

Yes it is possible with the VS addin 1.2.2. I use this addin version and Qt 4.8.1 in Visual Studio 2012 together.

该插件具有Qt4的局限性,但它可以为您完成整个moc和ui的工作。

The addin has limitations for Qt4, but it does the whole moc and ui stuff for you.

限制是:


  • 您必须指定Qt4 include目录和lib路径自身(不可单击)

  • 您没有Qt 4文件模板(但根据Qt4文件结构更改了Qt4标头文件的include指令后仍然可以使用)

这篇关于是否可以使用加载项在Visual Studio 2012中使用Qt4项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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