究竟怎么安装Qt4啊 根本就像那些简单的命令行那样就好了 一大堆的依赖问题 ! 根本就装不了 ... 大侠们快救救我 !
代码: 全选
sudo apt-get install libqt4-dev qt4-designer qt4-doc
代码: 全选
sudo apt-get install kde4-devel
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:
libqt4-dev: Depends: libqt4-assistant (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-dbus (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-designer (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-help (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-network (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-qt3support (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
Depends: libqt4-script (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-sql (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
Depends: libqt4-svg (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-test (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-webkit (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-xml (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-xmlpatterns (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqtcore4 (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqtgui4 (= 4.4.0-1ubuntu5~hardy1) but it is not installable
qt4-designer: Depends: libqt4-designer (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-network (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqt4-xml (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqtcore4 (= 4.4.0-1ubuntu5~hardy1) but it is not installable
Depends: libqtgui4 (= 4.4.0-1ubuntu5~hardy1) but it is not installable
E: Broken packages
qzi@qzi-desktop:~/Desktop/qt3hello$ sudo apt-get install kde4-devel
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.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kde4-devel: Depends: kde4-core (>= 3.3) but it is not going to be installed
Depends: kdebase-dev-kde4 (>= 4:4.0.0) but it is not going to be installed
Depends: kdelibs5-dev (>= 4:4.0.0) but it is not going to be installed
Depends: kdepimlibs5-dev (>= 4:4.0.0) but it is not going to be installed
Depends: kdesdk-kde4 (>= 4:4.0.0) but it is not going to be installed
Depends: libkonq5-dev (>= 4:4.0.0) but it is not going to be installed
Depends: libphonon-dev (>= 4:4.0.0) but it is not going to be installed
Depends: libplasma-dev (>= 4:4.0.0) but it is not going to be installed
Depends: qt4-designer but it is not going to be installed
E: Broken packages