2012-03-10 2 views
3

데스크톱을으로 만들기 위해 Windows 8 Consumer Preview (x64)에 VS2010 Pro를 설치했습니다. (지하철 없음). 나는 Qt는 4.8 소스를 다운로드하고 다음과 같이이를 구성하는 것을 시도했다 : Windows 8에 Qt 4.8 빌드 VS2010 Pro로

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. 

어떤 옵션/s의 내가 컴파일하도록 설정해야합니까?

편집 :이 작동합니다

configure -debug-and-release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -platform win32-msvc2010 

답변

4

봅니다 configure에 옵션으로 -platform win32-msvc2010을 추가.

+0

작동하는 것처럼 보이지만 syncqt를 실행하려면 Perl이 필요하다는 (관련이없는?) 오류가 발생합니다. – Tim

+0

예 - 이전 버전의 Windows에서도 필요합니다. – tmpearce

+0

@Tim : 오픈 소스 프로젝트를 처음 작성한 것으로 보입니다. . Qt를 근원지에서 구축하는 이유는 무엇입니까? Windows 7/Visual Studio 용으로 미리 컴파일 된 Qt 라이브러리를 가져 와서 끝내야합니다. –

관련 문제