在Ubuntu 14.04 LTS上安装qt4

一直试图安装Gnuradio几天,并继续遇到问题,qt4无法正常构建/安装。 似乎依赖于一个名为“统一控制中心”的东西,该东西声称依赖于两个图书馆,这两个图书馆都声称是最新的。 如果我尝试安装qt4,这就是我得到的。 如果我尝试从软件中心FWIW安装任何qt4应用程序,请获取完全相同的未满足的依赖项。

ftoewe@ftoewe-Inspiron:~$ sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed Depends: libcheese7 (>= 3.0.1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. ftoewe@ftoewe-Inspiron:~$ 

几天前被要求帮助,并且在试图完成建议时搞砸了。 所以回来再试一次。 提前致谢。

在这篇文章中建议的解决方案是“无法安装libglew-dev,因为libcheese和libclutter没有所需的版本”。 按照建议完成后能够安装qt4。 非常感谢Harris和David Foerster。

我试图安装libglew-dev ,我遇到了同样的问题。 我必须包含以下软件包才能安装它

sudo apt-get install libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0

它将包括所有必需的包。