使用Visual Studio 2015设置Qt5 [英] Setting up Qt5 with Visual Studio 2015

查看:376
本文介绍了使用Visual Studio 2015设置Qt5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google中搜索"Qt5-Windows 10-VS 2015"仅显示了4月份的博客文章,指出正在开发对VS 2015的支持(

Searching Google for 'Qt5 - Windows 10 - VS 2015' only brought up a blog post from April stating that support for VS 2015 is in the works (link).

Qt5下载页面(开放源代码版本)当前没有指向Visual Studio 2015的链接.那么,是否有可能在VS 2015中使用Qt5,或者只有在出现新问题之前我才能拥有Qt5?

The Qt5 downloads page (OpenSource version) currently has no links for Visual Studio 2015. So, is it possible to use Qt5 in VS 2015, or do I just have until something new comes up?

PS.我只是想避免在VS2015之上安装VS2013.如果需要,我可以从源代码构建.

PS. I just want to avoid installing VS2013 on top of VS2015. I can build from source should it be needed.

预先感谢

推荐答案

我刚刚写了

I just wrote a small article explaining how to compile Qt 5.5.1 (with QtWebkit) with Visual Studio 2015.

我知道这绝不是一个很好的答案:虽然可以完成,但该文章主要依赖于您可以从我的网站下载的助手Windows批处理文件.结果,尽管我不打算拉我的网站或文章本身,但其他SO用户或管理员有权将这个答案标记为过于易动...

I realize this is by no mean a good answer: while it does the job, that article mostly relies on helper Windows batch files you can download from my site. As a consequence, while I don't plan to pull my site or the article itself, other SO users or admins would be in their right to flag this answer as too volatile...

无论如何,在Qt员工提供使用Visual Studio 2015构建的官方预编译二进制文件之前,我相信我的文章可以帮上忙.希望有帮助.

Anyways, until Qt folks offer official pre-built binaries built with Visual Studio 2015, I believe my article saves the day. Hope that helps.

这篇关于使用Visual Studio 2015设置Qt5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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