
软件移植
lupengcheng2025
这个作者很懒,什么都没留下…
展开
-
移植QT4.7.1到arm-linux设备上
到QT的官方网站下载QT源码包 qt-everywhere-opensource-src-4.7.1.tar.gz交叉编译QT开发包1:防止意外,清理掉以前的配置条件gmake confclean2:配置编译条件./configure -prefix /opt/qt4-7 -opensource -embedded arm -no-webkit -qt-libtiff -qt-libmng -qt-mouse-tslib -qt-mouse-pc -no-mouse-linuxtp -n原创 2011-02-09 14:33:00 · 2221 阅读 · 0 评论 -
Qt开发:设置QMAKESPEC,生成不同平台的makefile
<br />进行Qt开发时,经常会编译程序到不同平台运行,例如本机上可能同时配置有linux平台和arm-linux平台的Qt<br />开发包,qmake工具。在针对不同平台的编译时除了要指定相应的qmake,还要设置好QMAKESPEC。<br /><br /><br /><br />一个特定平台下的qmake,使用QMAKESPEC环境变量指定的配置文件,为其生成makefile<br /><br /><br />所以当我们改变编译平台时执行qmake前要首先设置好QMAKESPEC<br /><br原创 2011-02-10 15:16:00 · 7225 阅读 · 1 评论