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

查看:34
本文介绍了使用 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,或者我只能在出现新的东西之前使用它?

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?

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

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

提前致谢

推荐答案

我刚刚写了一篇小文章,解释了如何使用 Visual Studio 2015 编译 Qt 5.5.1(使用 QtWebkit).

我意识到这绝不是一个好的答案:虽然它可以完成这项工作,但该文章主要依赖于您可以从我的网站下载的辅助 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天全站免登陆