QtWebEngine not installed despite qt 5.4 on ubuntu

spraffspraff Member Posts: 15
Following these instructions: https://github.com/ethereum/go-ethereum/wiki/Building-Instructions-for-Ubuntu

I have been able to get an executable for mist via the PPA and also building from source. Both versions suffer from the same problem: a promising but largely empty main window is opened and stdout gives
+++ genesis +++
Root: 7e204dc9cfb7acdf062ff0b8052f7fcb0b7e6593754773967932ce458d134af3
Hash: 32d9162f861a01bc8274e70b3cdb9d688fd7d8566f2f8c25cf1a882f244081c4
2015/03/15 14:04:09 [CHAIN] Last block (#2971) 2c3e4ad9af7719c06af896f5a9f7a253bfdedb614f08cbd7f405f471604c6582 TD=2325601587
2015/03/15 14:04:09 [CLI] Main address f3b2f9f9568b58dcddecbfae201a41f51913cc67
2015/03/15 14:04:09 [RPC-HTTP] Starting RPC-HTTP server on port 8545
ETH stack took 33.292205ms
2015/03/15 14:04:09 [CLI] Starting  Mist/v0.8.6/linux/go1.2.1
2015/03/15 14:04:09 [GUI] Starting GUI
2015/03/15 14:04:09 [P2P Server] Starting Server
2015/03/15 14:04:09 [JSRE] started
2015/03/15 14:04:09 [GUI] error:  file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/views/catalog.qml:5 module "QtWebEngine" is not installed
file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/views/catalog.qml:6 module "QtWebEngine.experimental" is not installed
file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/views/catalog.qml:5 module "QtWebEngine" is not installed
file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/views/catalog.qml:6 module "QtWebEngine.experimental" is not installed

2015/03/15 14:04:09 [GUI] error:  file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/views/browser.qml:6 module "QtWebEngine.experimental" is not installed
file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/views/browser.qml:5 module "QtWebEngine" is not installed
file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/views/browser.qml:6 module "QtWebEngine.experimental" is not installed
file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/views/browser.qml:5 module "QtWebEngine" is not installed

2015/03/15 14:04:09 main.qml.:46: file:////programming/go/src/github.com/ethereum/go-ethereum/cmd/mist/assets/qml/main.qml.:46: TypeError: Cannot read property 'view' of undefined
2015/03/15 14:04:11 [P2P NAT] mapping error: no devices discovered
2015/03/15 14:04:11 [P2P Discovery] Listening,  enode://701177a4d7e75c3313b8821fbe0360cb49221d447be2e66adb65870ae43fa626c[email protected]46.208.161.238:30303
2015/03/15 14:04:11 [P2P Server] Listening on [::]:30303
2015/03/15 14:04:11 [Blockpool] Started
2015/03/15 14:04:11 [SHH] Whisper started
2015/03/15 14:04:11 [SERV] Server started
Running qmake --version gives
QMake version 3.0
Using Qt version 5.4.0 in /usr/lib/x86_64-linux-gnu
How can I fix this? Thanks for reading.

Comments

  • KRAERKRAER Member Posts: 2
    Regarding the problem with Qt5WebEngine I have read a lot up to now.
    It seem that building on MinGW and including Qt5WebEngine is prohibited by QT. However could it be that the Go-Client used to be constructed on the other Web Enginge that was previously used with QT because on the QT sites you can read a lot about merging to Qt5WebEngine as it is the new engine that should be used based on Gecko as far as I could get. And there the old one needs to be the one used in Chromium or not?

    On Windows environments you need to install QT with VDC .. or VCD instead of MinGW so that you would be able to install Qt5WebEngine as well, otherwise you can select the packet and try as often as you want, it won't be installed beside MinGW.

    Is that the same on Linux? Right now I do not have a spare box to setup some linux to testdrive that. But if that would be the answer I could get me one ;)

    Or is it possible to switch to another WebEngine to get the compilation process run through to the end successfully?

    To be honest I am no big C nor Go guy ... I like SQL and php ;)

    On the develop branch the buildbot seem to successfully build the Go-Client GUI even on Windows. But I can not figure out how to use develop instead of master on windows git with the "go get" call. Maybe I will manually do a git clone and do go build afterwards on the develop branch.

    Anyway .. hope my thoughts will help someone and maybe lead to a solution even for me ;)

  • aeron.buchananaeron.buchanan Member Posts: 1
    edited May 2015
    I too have just run into a similar problem on Ubuntu 14.04 LTS.

    My solution seemed to lie somewhere in the following:
    > sudo apt-get install qml-module-qt-labs-settings
    > # ** uninstall Qt using the associated maintenanceTools **
    > wget http://download.qt.io/official_releases/qt/5.4/5.4.1/qt-opensource-linux-x64-5.4.1.run
    > chmod u+x qt-opensource-linux-x64-5.4.1.run
    > ./qt-opensource-linux-x64-5.4.1.run
    > export LD_LIBRARY_PATH=/Qt5.4.1/5.4/gcc_64/lib
    I suspect it was the last export that clinched it. Note that the above formulation overwrites the LD_LIBRARY_PATH variable, so it might be worth checking it is blank before using this, or using the following script:
    QT_INSTALL_PATH=
    if [ "x$LD_LIBRARY_PATH" = "x" ]; then
    export LD_LIBRARY_PATH=$QT_INSTALL_PATH/Qt5.4.1/5.4/gcc_64/lib
    else
    export LD_LIBRARY_PATH=$QT_INSTALL_PATH/Qt5.4.1/5.4/gcc_64/lib:$LD_LIBRARY_PATH
    fi
Sign In or Register to comment.