LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1252|回复: 1

qt4与Phonon的关系请教

[复制链接]
发表于 2010-1-2 16:06:41 | 显示全部楼层 |阅读模式
qt4与Phonon的关系请教。

前段时间因为编译的kde4没有声音主题,但可以播放音乐,因此猜想应该是某个库没有装好,搜索发现:Phonon是KDE 4的多媒體API 。Phonon提供一個穩定的API允許KDE 4獨立於任何一個聲音系统服务器如xine。
因此这次重新进行qt4时就很仔细的解决各个依赖库,在 configure信息中

Build type:    linux-g++
Architecture:  i386
Platform notes:

            - Also available for Linux: linux-kcc linux-icc linux-cxx

Build ............... libs tools docs translations
Configuration .......  release shared dll largefile stl precompile_header mmx 3dnow sse sse2  minimal-config small-config medium-config large-config full-config qt3support accessibility opengl reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-mng system-png png system-tiff system-freetype system-zlib nis iconv glib dbus openssl x11sm xshape xsync xrender mitshm fontconfig xkb alsa xmlpatterns multimedia svg webkit script scripttools release
Debug ............... no
Qt 3 compatibility .. yes
QtDBus module ....... yes (run-time)
QtConcurrent code.... yes
QtScript module ..... yes
QtScriptTools module  yes
QtXmlPatterns module  yes
Phonon module ....... no
Multimedia module ... yes
SVG module .......... yes
WebKit module ....... yes
JavaScriptCore JIT .. To be decided by JavaScriptCore
Declarative module .. no
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 (system)
JPEG support ........ plugin (system)
PNG support ......... yes (system)
MNG support ......... plugin (system)
zlib support ........ system
Session management .. yes
OpenGL support ...... yes (Desktop OpenGL)
OpenVG support ...... no
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
SQLite support ...... plugin (qt)
OpenSSL support ..... yes (run-time)
alsa support ........ yes


发现有这几项依赖没有解决:
Phonon module ....... no
Declarative module .. no
CUPS support ........ no
GStreamer support ... no
OpenVG support ...... no
NAS sound support ... no
GTK theme support ... no

与声音有关的是Phonon module和 NAS sound support
于是就进行了KDE4的前几步,一直到Phonon部分,停住了。Phonon居然需要QT的支持,循环起来了。
如何解决?
 楼主| 发表于 2010-1-2 19:58:31 | 显示全部楼层
./configure -prefix /opt/qt-4.6.0  \
            -release                 \
            -nomake examples         \
            -nomake demos            \
            -no-separate-debug-info \
-phonon

加了个 -phonon 解决了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表