解决 Google Earth 5.0 启动和字体问题

系统字体配置、中文显示和输入法问题
回复
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 解决 Google Earth 5.0 启动和字体问题

#31

帖子 daf3707 » 2009-02-20 9:25

我的删除了,也不显示汉字,用qt4-config设置了也不行, :em20
那个libqtwebkit我安装不上,因为依赖
头像
AutoXBC
帖子: 1744
注册时间: 2007-10-23 12:54

Re: 解决 Google Earth 5.0 启动和字体问题

#32

帖子 AutoXBC » 2009-02-20 10:28

安装 libqt4-webkit ,不是 libqtwebkit 。libqtwebkit 也不会装不上,有无法解决的依赖用 aptitude 。
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 解决 Google Earth 5.0 启动和字体问题

#33

帖子 daf3707 » 2009-02-20 10:34

AutoXBC 写了:安装 libqt4-webkit ,不是 libqtwebkit 。libqtwebkit 也不会装不上,有无法解决的依赖用 aptitude 。
是 libqt4-webkit ,不过他依赖一个包必须=4.0.1什么的,可我使用了ppa源,已经安装了高版本,故装不上
头像
AutoXBC
帖子: 1744
注册时间: 2007-10-23 12:54

Re: 解决 Google Earth 5.0 启动和字体问题

#34

帖子 AutoXBC » 2009-02-20 10:53

aptitude 可以根据需要自动降级一些包,我 Debian 都升到了 sid + experimental,比 ppa 恐怖多了,aptitude 全能处理。
gy011
帖子: 68
注册时间: 2008-11-16 13:44

Re: 解决 Google Earth 5.0 启动和字体问题

#35

帖子 gy011 » 2009-02-20 23:59

一开,等下就自动退了,上述方法都无效
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 解决 Google Earth 5.0 启动和字体问题

#36

帖子 daf3707 » 2009-02-21 8:42

sudo aptitude install libqt4-webkit
[sudo] password for daf:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
正在初始化软件包状态... 完成
正在编辑扩展状态信息... 完成
创建标签数据库... 完成
下列软件包是“破损”的:
libqt4-webkit
0 个软件包被升级,新安装1 个, 0 个将被删除, 同时 0 个将不升级。
需要获取 3266kB 的存档。 解包后将要使用 9499kB。
下列软件包存在未满足的依赖关系:
libqt4-webkit: 依赖: libqt4-network (= 4.4.0-1ubuntu5~hardy1) 但是 4.4.1-1ubuntu1~hardy1~ppa1 已安装
依赖: libqtcore4 (= 4.4.0-1ubuntu5~hardy1) 但是 4.4.1-1ubuntu1~hardy1~ppa1 已安装
依赖: libqtgui4 (= 4.4.0-1ubuntu5~hardy1) 但是 4.4.1-1ubuntu1~hardy1~ppa1 已安装
Resolving dependencies...
下列动作将解决这些依赖关系:

删除 下列软件包:
qt4-qtconfig

降级 下列软件包:
libqt4-assistant [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports,
hardy-backports)]
libqt4-core [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.3.4-0ubuntu3 (hardy, hardy, hardy)]
libqt4-dbus [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqt4-designer [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports,
hardy-backports)]
libqt4-gui [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqt4-network [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports,
hardy-backports)]
libqt4-opengl [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqt4-qt3support [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports,
hardy-backports)]
libqt4-script [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqt4-sql [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqt4-svg [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqt4-test [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqt4-xml [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqtcore4 [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]
libqtgui4 [4.4.1-1ubuntu1~hardy1~ppa1 (now) -> 4.4.0-1ubuntu5~hardy1 (hardy-backports, hardy-backports, hardy-backports)]

保留下列未解决的依赖关系:
libqtgui4 recommends qt4-qtconfig
分数是 -531

是否接受该解决方案?[Y/n/q/?]
这是不是说 libqt4-webkit安装成功了,但libqtgui4 recommends qt4-qtconfig都完了(缺少依赖)?
头像
AutoXBC
帖子: 1744
注册时间: 2007-10-23 12:54

Re: 解决 Google Earth 5.0 启动和字体问题

#37

帖子 AutoXBC » 2009-02-21 11:06

这个降级几乎把整个 ppa 踢出去了,不太合适。

我翻了一下 launchpad 的目录,这个地址有 libqt4 的完整打包,包含 libqt4-webkit 。
http://ppa.launchpad.net/kubuntu-member ... q/qt4-x11/

可以把 libqt4-webkit 的包单独下载安装,也可以用这个源目录顶替你原来那个,或者都加到源列表做补充。
红太阳
帖子: 1
注册时间: 2009-02-21 16:17

Re: 解决 Google Earth 5.0 启动和字体问题

#38

帖子 红太阳 » 2009-02-21 16:29

对啊,中文问题是解决了,可是panoramio 图片看不到了
这是因为还有两个文件需要替换,只要把plugins/imageformats里边的libqgif.so和libqjpeg.so都换掉就可以正常显示图片了。
头像
AutoXBC
帖子: 1744
注册时间: 2007-10-23 12:54

Re: 解决 Google Earth 5.0 启动和字体问题

#39

帖子 AutoXBC » 2009-02-21 17:51

楼上说的是,这两个文件也有问题,删掉也没有效果,把系统的库文件链接过来就可以了,一般在这个位置 /usr/lib/qt4/plugins/imageformats/ 。
头像
timebomb
帖子: 153
注册时间: 2008-04-09 11:01

Re: 解决 Google Earth 5.0 启动和字体问题

#40

帖子 timebomb » 2009-02-23 11:13

还是不大懂哦。怎么把楼上的两个文件换掉阿。俺不懂,望赐教
头像
AutoXBC
帖子: 1744
注册时间: 2007-10-23 12:54

Re: 解决 Google Earth 5.0 启动和字体问题

#41

帖子 AutoXBC » 2009-02-23 11:49

39 楼目录中的库文件复制或者链接到 google earth 的安装目录。

代码: 全选

sudo rm -R /opt/google-earth/plugins/imageformats
sudo ln -s /usr/lib/qt4/plugins/imageformats /opt/google-earth/plugins/imageformats
头像
Jarson
帖子: 2371
注册时间: 2008-07-21 9:44
来自: 深圳
联系:

Re: 解决 Google Earth 5.0 启动和字体问题

#42

帖子 Jarson » 2009-02-23 12:44

貌似很好玩的东东,有空折腾折腾~~
头像
rainstone
帖子: 441
注册时间: 2008-09-07 14:21
来自: 长沙

Re: 解决 Google Earth 5.0 启动和字体问题

#43

帖子 rainstone » 2009-02-23 13:22

AutoXBC 写了:39 楼目录中的库文件复制或者链接到 google earth 的安装目录。

代码: 全选

sudo rm -R /opt/google-earth/plugins/imageformats
sudo ln -s /usr/lib/qt4/plugins/imageformats /opt/google-earth/plugins/imageformats
按照41楼的方法搞定图片显示问题。
头像
timebomb
帖子: 153
注册时间: 2008-04-09 11:01

Re: 解决 Google Earth 5.0 启动和字体问题

#44

帖子 timebomb » 2009-02-23 21:59

上面的俺也不会,

1、打开就关闭的问题就会直接到你的安装目录下删掉那些libqt*文件,就是前面说的那些

2、能打开但是不能显示图片的问题就是

代码: 全选

sudo rm -R /opt/google-earth/plugins/imageformats
sudo ln -s /usr/lib/qt4/plugins/imageformats /opt/google-earth/plugins/imageformats
其实你就是直接到/usr/lib/qt4/plugins/imageformats目录把所有的文件复制到你的google earth下的google-earth/plugins/imageformats下并替换已有的

3、希望能帮到有需要的同学们
头像
ancintosh
帖子: 309
注册时间: 2007-05-23 20:38
来自: 鍟.

Re: 解决 Google Earth 5.0 启动和字体问题

#45

帖子 ancintosh » 2009-02-28 22:32

不复制只是看不到,复制了这些东西看图的时候跳出啊

代码: 全选

Google Earth has caught signal 11.

Stacktrace from glibc:
  ./googleearth-bin [0x806c3a3]
  ./googleearth-bin [0x806c916]
  [0xb7f62420]
  /usr/local/google-earth/plugins/imageformats/libqjpeg.so [0xb315179e]
  /usr/local/google-earth/plugins/imageformats/libqjpeg.so [0xb3152e1e]
  /usr/lib/libQtGui.so.4(_ZN12QImageReader4readEP6QImage+0x20c) [0xb74ea91c]
  /usr/lib/libQtWebKit.so.4 [0xb6d77210]
  /usr/lib/libQtWebKit.so.4 [0xb6d7735d]
  /usr/lib/libQtWebKit.so.4 [0xb6d77cee]
  /usr/lib/libQtWebKit.so.4 [0xb6d7a104]
  /usr/lib/libQtWebKit.so.4 [0xb6c9ed88]
  /usr/lib/libQtWebKit.so.4 [0xb6ca4ed0]
  /usr/lib/libQtWebKit.so.4 [0xb6c16013]
  /usr/lib/libQtWebKit.so.4 [0xb6c4c72f]
  /usr/lib/libQtWebKit.so.4 [0xb6c56fe0]
  /usr/lib/libQtWebKit.so.4 [0xb6c53111]
  /usr/lib/libQtWebKit.so.4 [0xb6d808f6]
  /usr/lib/libQtWebKit.so.4 [0xb6d80be1]
  /usr/lib/libQtCore.so.4(_ZN14QMetaCallEvent13placeMetaCallEP7QObject+0x2b) [0xb7d818ab]
  /usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x351) [0xb7d82c31]
  /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbc) [0xb7439f9c]
  /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xa9) [0xb743ebf9]
  /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xa9) [0xb7d730b9]
  /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2a9) [0xb7d74469]
  /usr/lib/libQtCore.so.4(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2d) [0xb7d7468d]
  /usr/lib/libQtCore.so.4 [0xb7d9e62f]
  /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x176) [0xb6197cc6]
  /usr/lib/libglib-2.0.so.0 [0xb619b083]
  /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6e) [0xb619b63e]
  /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x58) [0xb7d9e9f8]
  /usr/lib/libQtGui.so.4 [0xb74cda25]
  /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x4d) [0xb7d7233d]
  /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x9d) [0xb7d724cd]
  /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xad) [0xb7d7474d]
  /usr/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x27) [0xb7439897]
  ./libgoogleearth_lib.so(_ZN5earth6client11Application3runEv+0x392) [0xb68e01d2]
  ./googleearth-bin(main+0x2ba) [0x806da3a]
  /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb668b450]
  ./googleearth-bin [0x806bb31]




We apologize for the inconvenience, but Google Earth has crashed.
 This is a bug in the program, and should never happen under normal
 circumstances. A bug report and debugging data are now being written
 to this text file:

    ~/.googleearth/crashlogs/crashlog-047567A5.txt

This bug report will be sent to Google automatically next time you run
 Google Earth. Its data, which contains no personal information, will help
 us correct problems without bothering you further. If you would rather
 this info not be transmitted, please delete the above file before running
 the program again. If you want bug reports to NEVER be sent, remove the
 above 'crashlogs' directory's read/write permissions.
回复