编译安装Qt可能出现的问题及解决办法



以下模块,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

重新#./configure -phonon

即可。。。


如出现
Basic XLib functionality test failed!
则先安装libxext-dev
sudo apt-get install libxext-dev

mark时出现
/usr/bin/ld: cannot find -lXext
则需安装libxt-dev
sudo apt-get install libxt-dev

mark时出现
/usr/bin/ld: cannot find -lXrender
则需安装libxrender-dev
sudo apt-get install libxrender-dev

出现
X11/extensions/Xdamage.h: No such file or directory
则安装libxdamage-dev
sudo apt-get install libxdamage-dev

About QtOpenGL
If try -opengl then: All the OpenGL functionality tests failed!
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev

About QtDBus
If try -dbus then:The QtDBus module cannot be enabled because libdbus-1 version 0.93 was not found
sudo apt-get install libdbus-1-dev
sudo apt-get install libedbus-dev


gconf
sudo apt-get install libgconf2-dev

icu
sudo apt-get install libicu-dev

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值