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

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

问题描述

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

 导入QtWebEngine 1.0 
导入QtWebEngine.experimental 1.0

然后我得到这些错误

  file:////usr/share/mist/qml/views/browser.qml:5模块QtWebEngine未安装
file://// usr / share / mist / qml / views / browser.qml:6模块QtWebEngine.experimental未安装

QtWebEngine位于 Qt 5.4 这是我安装的内容

 #> qmake --version 
QMake版本3.0
在/ usr / lib / x86_64-linux-gnu中使用Qt版本5.4.0

我试图自己创建QtWebEngine ,但没有快乐:

 #> git clone git@gitorious.org:qt-labs / qtwebengine.git 
克隆到'qtwebengine'...
权限被拒绝(publickey)。
致命:无法从远程存储库读取。

请确保您拥有正确的访问权限
并存在存储库。

1)为什么QtWebEngine安装在Qt 5.4中, 安装了吗?



2)有没有其他方法可以自己安装?

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



感谢您的阅读。我在Ubuntu 14.10上这样做。

解决方案

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


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

Then I get these errors

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 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

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) Why isn't QtWebEngine installed if it's in Qt 5.4, which is installed?

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

3) What is wrong with the git clone command?

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

解决方案

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天全站免登陆