How to install QtWebEngine on Ubuntu

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

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

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

I tried to create QtWebEngine myself , but without 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 is QtWebEngine not installed if it is installed in Qt 5.4, which is installed?

2) Is there a way to install it, except to create it yourself?

3) What is wrong with the git clone command?

Thank you for reading. I am doing this on Ubuntu 14.10.

+5
source share
2 answers

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

+2
source

I found that another reason for this "Qt * module" is not installed. " The Ubuntu class of problems is at least not an LD_LIBRARY_PATH environment LD_LIBRARY_PATH that is not set. It should include the lib directory path of your Qt installation, for example.

 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 fi 
0
source

Source: https://habr.com/ru/post/1215484/


All Articles