标题:Windows下编译qt-mobility和qt-quick-components for symbian
作者:XChinux
日期:2012-06-17 18:00
内容:
qt mobility从下面的地址获取:
http://qt.gitorious.org/qt-components/qt-components/archive-tarball/master
qt quick components for symbian从下面地址获取:
http://qt.gitorious.org/qt-components/qt-components/archive-tarball/qtquick2
我机器上的Qt版本是4.8.2-msvc2008,编译前要安装ActivePerl,下面是下载地址:
http://www.activestate.com/activeperl
注意:编译qt-mobility和qt-quick-components for symbian都是给Windows开发用的,这里与symbian无关(如果要给symbian用,则要qt for symbian的版本编译)
环境:
Qt安装目录: D:\Qt\4.8.2-msvc2008
ActivePerl安装目录:D:\Perl,注意要将D:\Perl\bin加入到PATH环境变量中
启动Qt 4.8.2 Command Prompt,切换到对应目录开始编译Qt Mobility:
configure -prefix D:\qt\4.8.2-msvc2008 -examples -demos -languages zh_CN -no-nfc-symbian
nmake
nmake install
编译安装完后,如果要帮助文档,则执行,就会在doc目录下生成.qch文件,在assistant里将其加入即可。
nmake docs
下面开始编译Qt Quick Components:
configure -symbian -make demos -make examples -make extras -nomake tests -mobility
nmake
nmake install
编译安装完后,如果要帮助文档,则执行下面命令,就会在doc目录下生成.qch文件,在assistant里将其加入即可。nmake docs