如何在 Ubuntu 上安装 QtWebEngine [英] How can I install QtWebEngine on Ubuntu

查看:124
本文介绍了如何在 Ubuntu 上安装 QtWebEngine的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当 QML 程序(例如 Ethereum,从 PPA 安装时 在这种情况下)尝试

When a QML program (e.g. Ethereum, installed from the PPA in this case) tries to

import QtWebEngine 1.0
import QtWebEngine.experimental 1.0

然后我得到这些错误

file:////usr/share/mist/qml/views/browser.qml:5 module "QtWebEngine" is not installed
file:////usr/share/mist/qml/views/browser.qml:6 module "QtWebEngine.experimental" is not installed

QtWebEngine 在我安装的 Qt 5.4

QtWebEngine is in Qt 5.4 which is what I have installed

#> qmake --version
QMake version 3.0
Using Qt version 5.4.0 in /usr/lib/x86_64-linux-gnu

我尝试自己构建QtWebEngine,但没有任何乐趣:

I tried to build QtWebEngine myself but no joy:

#> git clone git@gitorious.org:qt-labs/qtwebengine.git
Cloning into 'qtwebengine'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

1) 如果 QtWebEngine 是在安装了 的 Qt 5.4 中,为什么没有安装它?

1) Why isn't QtWebEngine installed if it's in Qt 5.4, which is installed?

2) 除了自己构建之外,还有其他方法可以安装吗?

2) Is there a way to install it other than building it myself?

3) git clone 命令有什么问题?

3) What is wrong with the git clone command?

感谢阅读.我在 Ubuntu 14.10 上执行此操作.

Thanks for reading. I'm doing this on Ubuntu 14.10.

推荐答案

这是特定于以太坊和 ethereum-qt PPA,它正在从 Qt 5.4.0 升级到 5.4.1,这需要几个小时才能完成.只需 apt-get update &&apt-get upgrade 一切都应该修复.

This is specific to Ethereum and the ethereum-qt PPA, which was being upgraded from Qt 5.4.0 to 5.4.1, something that takes many hours to complete. Just apt-get update && apt-get upgrade and everything should be fixed.

这篇关于如何在 Ubuntu 上安装 QtWebEngine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆