Phonon support cannot be enabled due to functionality tests 解决办法

 以下模块,yes的是qt默认安装的。

 

Debug ............... no

Qt 3 compatibility .. yes

QtDBus module ....... no

QtScriptTools module  yes

QtXmlPatterns module  yes

Phonon module ....... no

SVG module .......... yes

WebKit module ....... yes

STL support ......... yes

PCH support ......... yes

MMX/3DNOW/SSE/SSE2..  yes/yes/yes/yes

Graphics System ..... default

IPv6 support ........ yes

IPv6 ifname support . yes

getaddrinfo support . yes

getifaddrs support .. yes

Accessibility ....... yes

NIS support ......... yes

CUPS support ........ no

Iconv support ....... yes

Glib support ........ yes

GStreamer support ... no

Large File support .. yes

GIF support ......... plugin

TIFF support ........ plugin (qt)

JPEG support ........ plugin (system)

PNG support ......... yes (system)

MNG support ......... plugin (system)

zlib support ........ system

Session management .. yes

OpenGL support ...... yes (Desktop OpenGL)

NAS sound support ... no

XShape support ...... yes

XSync support ....... yes

Xinerama support .... runtime

Xcursor support ..... runtime

Xfixes support ...... runtime

Xrandr support ...... runtime

Xrender support ..... yes

Xi support .......... runtime

MIT-SHM support ..... yes

FontConfig support .. yes

XKB Support ......... yes

immodule support .... yes

GTK theme support ... no

PostgreSQL support .. plugin

SQLite 2 support .... plugin

SQLite support ...... plugin (qt)

OpenSSL support ..... yes (run-time)

 

 

所以,但我们开始装qt之前没有编译显示no的那些模块,我们可以

重新编译一次。

#./configure -phonon

但这时候,可能会提示以下内容,

Phonon support cannot be enabled due to functionality tests 

 

解决办法:

先下载必要的包:

sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

 

opengl需要
$ sudo apt-get install xlibmesa-gl-dev libglu1-mesa-dev

下面的为gstreamer需要使用的头文件等
sudo apt-get install libglib2.0-dev
sudo apt-get install libgstreamer0.10-dev
sudo apt-get install libgstreamer-plugins-base0.10-dev
sudo apt-get install libxml-dev  (无法)

安装各类需要使用到的开发包
sudo apt-get install xorg-dev

sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

重新#./configure -phonon

即可。。。

你可能感兴趣的:(Module,File,System,qt)