当QML程序(例如,Ethereum,本例中的从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 installedQtWebEngine在Qt 5.4中,这是我安装的
#> qmake --version
QMake version 3.0
Using Qt version 5.4.0 in /usr/lib/x86_64-linux-gnu我试过自己构建QtWebEngine,但没有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安装在QT5.4中,为什么它没有安装?
( 2)除了自行建造外,是否有其他方法安装?
3) git clone命令有什么问题?
感谢您的阅读。我在Ubuntu 14.10上做这个。
发布于 2015-03-20 20:20:02
这是特定于Ethereum和以太-qt PPA的,它正在从QT5.4.0升级到5.4.1,这需要很多小时才能完成。只有apt-get update && apt-get upgrade和一切都应该被修复。
发布于 2015-05-18 13:08:24
我发现在Ubuntu上没有安装"Qt*“模块的另一个原因是没有设置环境变量LD_LIBRARY_PATH。它应该包括到Qt安装的lib目录的路径。
if [ "x$LD_LIBRARY_PATH" = "x" ]; then
export LD_LIBRARY_PATH=/home/username/Qt5.4.1/5.4/gcc_64/lib
else
export LD_LIBRARY_PATH=/home/username/Qt5.4.1/5.4/gcc_64/lib:$LD_LIBRARY_PATH
fihttps://stackoverflow.com/questions/29088564
复制相似问题