Building Qt 4.5 with Visual C++ 2010(使用 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:
- 打开 vs2010 命令提示符.cd 进入顶级 Qt 目录.
- configure.exe -platform win32-msvc2008 -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-multimedia -no-qt3support -fast
- nmake
这篇关于使用 Visual C++ 2010 构建 Qt 4.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用 Visual C++ 2010 构建 Qt 4.5
基础教程推荐
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 初始化列表*参数*评估顺序 2021-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- CString 到 char* 2021-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
