webkit太大了。暂时也用不上,直接kick out。
下载源码。解压。发现目录结构与qt4有很大不同。
有一个qtbase。其他的一些模块都是按目录分开的。
貌似最基本的编译失宠qtbase开始。、找到README
Open a Windows SDK (7.0, 7.1 or later) command prompt. Ensure that Perl
version 5.12 or later and Python version 2.7 or later can be found in the
path.
cd <path>\qt-everywhere-opensource-src-<version>
configure -prefix %CD%\qtbase -opensource -nomake tests
nmake
For MinGW (gcc version 4.6 or later), ensure that the compiler can
be found in the path.
To accelerate the bootstrap of qmake with MSVC, it may be useful to pass
"-make-tool jom" on the configure command line. If you do not use jom,
adding "/MP" to the CL environment variable is a good idea.
按照提示做吧。我们需要perl。python。msvc 2010
进入2010的命令提示符、确保perl和python的路径在环境变量之中。且cmd中敲入perl和python可以识别。
老规矩。还是configure -h 查看编译选项。
按需做添加吧。
手动nmake。等了1哥多小时还没弄玩。。。。
先等着吧