Ubuntu下qt-extended 中是实现支持gstreamer 播放引擎


刚刚想了解下,在板子上的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好,应该放在前面。

  • 1
  • 2
  • 下一页

相关内容