I’ve installed VS2010 Pro on Windows 8 Consumer Preview (x64) for making desktop apps. (no Metro). I have downloaded the Qt 4.8 source and tried to configure it like this:
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
I get this error:
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.
What option/s do I need to set to make it compile?
EDIT: this works:
configure -debug-and-release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -platform win32-msvc2010
Try adding
-platform win32-msvc2010as an option toconfigure.