Monero-gui: Can't launch v0.12.0.0 on Ubuntu

Created on 3 Apr 2018  路  6Comments  路  Source: monero-project/monero-gui

GUI_VERSION = "v0.12.0.0"
Ubunutu - 17.10

When opening monero-wallet-gui, this error occurs (and the GUI is ofc not launched)
"
_QQmlApplicationEngine failed to load component
qrc:///main.qml:1043 Type StandardDialog unavailable
qrc:///components/StandardDialog.qml:30 module "QtQuick.Controls" version 2.0 is not installed
Error: no root objects_
"
Could be that this #1240 is causing it, after some research (aka quick duckduckgo search) - the issue can be that Ubuntu has also a older version of QT(5.0.2) which is first found when the program is launched - and it fails (even when the correct version is present in the system)

Don't know a easy way to fix this, probably there is a workaround, but I assume we don't really want people to remove some parts of ubuntu for installing a monero-gui build

resolved

Most helpful comment

From reddit/r/monero

sudo apt qml-module-qtquick-controls2

For ubuntu 17.10

All 6 comments

From reddit/r/monero

sudo apt qml-module-qtquick-controls2

For ubuntu 17.10

Must also be Qt 5.7+

thanks alot, worked, the command is btw:

sudo apt install qml-module-qtquick-controls2

Creating a PR for updating this new dependency in README.md

For Ubuntu 16.04LTS, this doesn't work:

sudo apt-get install qml-module-qtquick-controls2

As @skftn commented, the version must be higher, but that one is not available. You have to manually install it.

can be closed

+resolved

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yakitorifoodie picture yakitorifoodie  路  7Comments

GBKS picture GBKS  路  9Comments

ddyzhang picture ddyzhang  路  8Comments

cdiv1e12 picture cdiv1e12  路  10Comments

Realchacal picture Realchacal  路  9Comments