剛剛想了解下,在板子上的qt文件系統裡頭,怎麼裝一個自己的軟件,然後移植。從來沒做過這個過程。搜索到這個文章,感覺挺有用的。以gstreamer 為例子。
1.Ubuntu系統 安裝gstreamer 依賴的庫文件。
2 qt-extended的配置: 讓gstreamer 被配置到。
../qt-extended-4.4.2/configure -mediaengines gstreamer
3.編譯qt-extended
4.運行 qt-extended
qt-extended的Documents目錄
我還嘗試了下,安裝automake,據說這個可以自動生成makefile文件。
root@Ubuntu:/home/zhangbin# apt-get install automake
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
autoconf autotools-dev m4
Suggested packages:
autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool
The following NEW packages will be installed:
autoconf automake autotools-dev m4
0 upgraded, 4 newly installed, 0 to remove and 115 not upgraded.
Need to get 1,685kB of archives.
After this operation, 4,915kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://Ubuntu.srt.cn/Ubuntu/ lucid/main m4 1.4.13-3 [241kB]
Err http://Ubuntu.srt.cn/Ubuntu/ lucid/main m4 1.4.13-3
Could not connect to Ubuntu.srt.cn:80 (211.155.227.167). - connect (111: Connection refused)
Get:2 http://Ubuntu.cn99.com/Ubuntu/ lucid/main m4 1.4.13-3 [241kB]
Get:3 http://Ubuntu.cn99.com/Ubuntu/ lucid/main autoconf 2.65-3Ubuntu1 [772kB]
Get:4 http://Ubuntu.cn99.com/Ubuntu/ lucid/main autotools-dev 20090611.1 [64.1kB]
Get:5 http://Ubuntu.cn99.com/Ubuntu/ lucid/main automake 1:1.11.1-1 [608kB]
Fetched 1,460kB in 4min 39s (5,217B/s)
Selecting previously deselected package m4.
(Reading database ... 143039 files and directories currently installed.)
Unpacking m4 (from .../archives/m4_1.4.13-3_i386.deb) ...
Selecting previously deselected package autoconf.
Unpacking autoconf (from .../autoconf_2.65-3Ubuntu1_all.deb) ...
Selecting previously deselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20090611.1_all.deb) ...
Selecting previously deselected package automake.
Unpacking automake (from .../automake_1%3a1.11.1-1_all.deb) ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Setting up m4 (1.4.13-3) ...
Setting up autoconf (2.65-3Ubuntu1) ...
Setting up autotools-dev (20090611.1) ...
Setting up automake (1:1.11.1-1) ...
update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode.
以上過程,說明了cn99比srt好,應該放在前面。