使用 Visual C++ 2010 构建 Qt 4.5 [英] Building Qt 4.5 with Visual C++ 2010

查看:41
本文介绍了使用 Visual C++ 2010 构建 Qt 4.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人尝试使用 Visual Studio 2010(Beta 2)构建 Qt 4.5?是否有任何成功的提示?

Did somebody tried to build Qt 4.5 with Visual Studio 2010 (Beta 2)? Any hints on doing that successfuly?

稍后编辑我尝试从 Visual Studio 2010 控制台运行配置.2010 没有 makespecs 支持,因此配置失败.

Later edit I tried to run configure from a Visual Studio 2010 console. There is no makespecs support for 2010, so configure fails because of that.

推荐答案

它对我来说就像构建 vs2008 一样,但是使用 vs2010 工具:

It worked for me to build just as if it was vs2008, but using the vs2010 tools:

  1. 打开 vs2010 命令提示符.cd 进入顶级 Qt 目录.
  2. configure.exe -platform win32-msvc2008 -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-multimedia -no-qt3support -fast
  3. nmake

这篇关于使用 Visual C++ 2010 构建 Qt 4.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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