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
這似乎工作,但提出了一個(無關的?)錯誤,說我需要Perl來運行syncqt – Tim 2012-03-10 04:38:46
是的 - 這也是必要的老版本的Windows也 – tmpearce 2012-03-10 04:40:15
@Tim:看來,你是新來編譯開源項目。無論如何,你爲什麼要從源代碼構建Qt?你應該抓住Windows 7/Visual Studio預編譯的Qt庫並完成它。 – 2012-03-10 04:42:42