Ubuntu 10.04 安装QT4.8.1 源码后字体模糊的问题。
附加解决 QT SDK 4.8.1 链接失败的问题
Ubuntu 10.04 编译QT源码后,编译程序,运行后IPA字体无法正常显示。
而且运行qtconfig程序,字体极为粗糙,很多矢量字体都无法显示。而且附带的demo程序也是这样.
而9.10源码编译后完全没有这个问题。但是现在9.10已经过期,而10.04是指定版本。不能回头了。
试着安装Qt SDK的二进制版本,发现qtconfig字体非常正常
用此版本编译。但是链接失败
/opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtWebKit.so: undefined reference to `gst_element_link_pads_full'
collect2: ld returned 1 exit status
e: src build failed: `gst_element_link_pads_full'
I found a ppa for updated gstreamer packages at: https://launchpad.net/~gstreamer-developers/+archive/ppa
It looks like it gave me gstreamer 0.10.34. Hopefully it won't blow up my system. Qt Creator at least built and seems to run.
Is this dependency going to get in the way of running Qt Creator on older systems by default? Or can the necessary gstreamer libs be included?
似乎是缺少 libgstreamer0.10-dev
源码编译都不成功
apt-get install libgstreamer*
apt-get install libgstreamer0.10-dev
apt-get -f install libgstreamer0.10-dev
apt-get也不成功
Glibc 的版本可以有多种方式进行查询,
1. ls -al /lib/libc.so.6
添加PPA源
add-apt-repository ppa:gstreamer-developers
apt-get install gstreamer0.10 不成功
最后进入ubuntu软件中心,下载libstreamer0.10-dev
终于编译通过。
另外QT SDK自带了debug程序