【发布时间】:2015-05-19 06:14:44
【问题描述】:
当 QML 程序(例如以太坊,在本例中为 installed from the PPA)尝试时
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,这是我安装的
#> qmake --version
QMake version 3.0
Using Qt version 5.4.0 in /usr/lib/x86_64-linux-gnu
我尝试了build QtWebEngine myself,但没有喜悦:
#> 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 中,为什么没有安装它?
2) 除了自己构建之外,还有其他方法可以安装吗?
3) git clone 命令有什么问题?
感谢阅读。我在 Ubuntu 14.10 上执行此操作。
【问题讨论】:
-
你真的应该问问在那个 PPA 中提供 deb 包的人,显然他们的依赖关系不正确。
-
软件包正在升级,对于 Qt 来说这需要几个小时。显然,您在发表评论之前没有进一步调查。
标签: git qt ubuntu qml qtwebengine