首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用VS2010 Pro在Windows 8上构建QT4.8

用VS2010 Pro在Windows 8上构建QT4.8
EN

Stack Overflow用户
提问于 2012-03-10 03:47:56
回答 1查看 3.6K关注 0票数 3

我在Windows8ConsumerPreview (x64)上安装了x64 Pro,用于制作桌面应用程序。(没有地铁)。我下载了QT4.8源代码,并试图像这样配置它:

代码语言:javascript
复制
C:\Libraries\Qt4.8\qt-everywhere-opensource-src-4.8.0>configure -debug-and-relea
se -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3su
pport

我知道这个错误:

代码语言:javascript
复制
Qt: Untested Windows version 6.2 detected!
Unable to detect the platform from environment. Use -platform command lineargume
nt or set the QMAKESPEC environment variable and run configure again
See the README file for a list of supported operating systems and compilers.

我需要设置哪些选项来使其编译?

编辑:这工作:

代码语言:javascript
复制
configure -debug-and-release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -platform win32-msvc2010
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-03-10 04:30:18

尝试将-platform win32-msvc2010添加到configure中作为选项。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9643758

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档