快被Qt 给逼疯了

软件和网站开发以及相关技术探讨
回复
Qzier
帖子: 41
注册时间: 2008-02-15 0:45

快被Qt 给逼疯了

#1

帖子 Qzier » 2009-02-09 4:21

http://wiki.ubuntu.org.cn/Gtk%E4%B8%8EQ ... D%E7%BD%AE

究竟怎么安装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
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53

Re: 快被Qt 给逼疯了

#2

帖子 jarryson » 2009-02-09 10:19

ubuntu版本太老
Qzier
帖子: 41
注册时间: 2008-02-15 0:45

Re: 快被Qt 给逼疯了

#3

帖子 Qzier » 2009-02-09 16:04

jarryson 写了:ubuntu版本太老
ubuntu 8.04
sosmart
帖子: 16
注册时间: 2007-05-11 17:27

Re: 快被Qt 给逼疯了

#4

帖子 sosmart » 2009-02-22 10:04

斑竹...
该出手时就出手吧.
heguangyu5
帖子: 8
注册时间: 2008-11-29 22:38

Re: 快被Qt 给逼疯了

#5

帖子 heguangyu5 » 2009-03-07 21:18

很简单了,前几天Qt4.5发布了,有一个SDK.
去Qt的网站上下载一个bin文件,安装上就好了.
什么都有.
不过个人感觉那个Qt Create用起来不是很爽.
头像
ChloeRei
帖子: 1021
注册时间: 2007-11-23 9:49

Re: 快被Qt 给逼疯了

#6

帖子 ChloeRei » 2009-03-09 18:14

可能加的源和ubuntu版本不符,检查下sources.list
头像
aric286
帖子: 960
注册时间: 2007-12-03 9:54
联系:

Re: 快被Qt 给逼疯了

#7

帖子 aric286 » 2009-03-09 18:50

用sudo aptitude试试
poet
帖子: 2841
注册时间: 2006-09-11 22:47

Re: 快被Qt 给逼疯了

#8

帖子 poet » 2009-03-09 19:07

如果 8.04 的话楼主要不要试试 sudo apt-get build-dep kate-kde4 。这个要好用些。

8.04 要装 Qt 4.4 的话需要开 backports 。4.5 就只能到官方下了。
回复