首页| 论坛| 消息

回复: fedora 12下搭建qt/qt embedded环境移植到mini2440开发板上
#6 回 4楼(wlzxlc) 的帖子 [落寞海 04-17 15:03]
想请教一下你装的是那个版本的qt/qt embedded具体点的?交叉编译后能成功运行到板子上吗?在安装是./configure生成的makefile时参数该怎么设计呢?很急的,希望能尽快回复
#7 回 5楼(wxj120bw) 的帖子 [落寞海 04-17 15:34]
我在安装目录下用find 指令找了,没有找到你说的 install或者readme文件
#8 Re:回 5楼(wxj120bw) 的帖子 [wxj120bw 04-17 21:19]
引用第7楼落寞海于2011-04-17 15:34发表的 回 5楼(wxj120bw) 的帖子 :
我在安装目录下用find 指令找了,没有找到你说的 install或者readme文件
一般这样的文件都是在解压后的文件夹根目录下 你看下 一般都会有的
#9 回 6楼(落寞海) 的帖子 [wlzxlc 04-18 18:57]
成功移植,qt-embedded-linux-opensource-src-4.5.2.tar.gz,arm-linux-gcc version 3.4.6
配置参数如下:
./configure -release -shared -fast -no-largefile -qt-sql-sqlite -no-qt3support -no-xmlpatterns -no-mmx -no-3dnow -no-sse -no-sse2 -no-svg -qt-zlib -qt-gif -qt-libtiff -qt-libpng -qt-libjpeg -make libs -nomake examples -nomake docs -nomake demo -no-nis -no-cups -no-iconv -no-dbus -no-openssl -xplatform qws/linux-arm-g++ -embedded arm -webkit-little-endian -qt-freetype -depths 16 -qt-mouse-linuxtp -qt-mouse-tslib -I/home/sprife/qt4/for_arm/tslib1.4-install/include -L/home/sprife/qt4/for_arm/tslib1.4-install/lib
我在其中加入了QWebkit支持
#10 回 8楼(wxj120bw) 的帖子 [落寞海 04-19 10:46]
找到了这两个文件,不知道是不是
install文件
INSTALLING Qt/X11 Version 4.5.1.
1.If you have the commercial edition of Qt, install your license
file as $HOME/.qt-license.
For the open source version you do not need a license file.
2.Unpack the archive if you have not done so already:
cd /tmp
gunzip %DISTNAME%.tar.gz# uncompress the archive
tar xvf %DISTNAME%.tar# unpack it
This creates the directory /tmp/%DISTNAME% containing the files
from the archive. We only support the GNU version of the tar
archiving utility. Note that on some systems it is called gtar.
3.Building
To configure the Qt library for your machine type, run the
./configure script in the package directory.
By default, Qt is configured for installation in the
/usr/local/Trolltech/Qt-4.5.1 directory, but this can be
changed by using the -prefix option. Alternatively, the
-prefix-install option can be used to specify a "local"
installation within the source directory.
cd /tmp/%DISTNAME%
./configure
Type "./configure -help" to get a list of all available options.
To create the library and compile all the demos, example ..

<< 1 2 3 >> (2/3)

回复 发表
主题 版块