qt4与Phonon的关系请教
时间:2010-01-02
来源:互联网
qt4与Phonon的关系请教。
前段时间因为编译的kde4没有声音主题,但可以播放音乐,因此猜想应该是某个库没有装好,搜索发现:Phonon是KDE 4的多媒體API 。Phonon提供一個穩定的API允許KDE 4獨立於任何一個聲音系统服务器如xine。
因此这次重新进行qt4时就很仔细的解决各个依赖库,在 configure信息中
发现有这几项依赖没有解决:
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的支持,循环起来了。
如何解决?
前段时间因为编译的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-01-02
./configure -prefix /opt/qt-4.6.0 \
-release \
-nomake examples \
-nomake demos \
-no-separate-debug-info \
-phonon
加了个 -phonon 解决了。
-release \
-nomake examples \
-nomake demos \
-no-separate-debug-info \
-phonon
加了个 -phonon 解决了。
作者: 飞龙在天 发布时间: 2010-01-03
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28