我在Windows8ConsumerPreview (x64)上安装了x64 Pro,用于制作桌面应用程序。(没有地铁)。我下载了QT4.8源代码,并试图像这样配置它:
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我知道这个错误:
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.我需要设置哪些选项来使其编译?
编辑:这工作:
configure -debug-and-release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -platform win32-msvc2010发布于 2012-03-10 04:30:18
尝试将-platform win32-msvc2010添加到configure中作为选项。
https://stackoverflow.com/questions/9643758
复制相似问题