module "QtQuick" is not installed

Bug #1263901 reported by David Barth
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cordova Ubuntu
Incomplete
Low
Unassigned

Bug Description

Context: I'm trying to setup a VM with Ubuntu for Cordova developers running a non-Ubuntu guest. I installed a base Ubuntu 12.04 system with vagrant, then upgraded to Trusty, then apt-get install'ed cordova & dependencies, as stated in the Cordova docs.

The cordova-ubuntu runtime fails with:

/home/vagrant/Baz/platforms/ubuntu/cordova-ubuntu

(process:16888): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message
Warning: QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.
Warning: file:///home/vagrant/Baz/platforms/ubuntu/qml/main.qml:19:1: module "QtQuick" is not installed
     import QtQuick 2.0
     ^
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Warning: QXcbConnection: XCB error: 166 (Unknown), sequence: 268, resource id: 1, major code: 149 (Unknown), minor code: 1
Warning: QXcbConnection: XCB error: 166 (Unknown), sequence: 270, resource id: 0, major code: 149 (Unknown), minor code: 1

Revision history for this message
David Barth (dbarth) wrote :

sudo apt-get install qtdeclarative5-qtquick2-plugin

then retrying the command gives:

Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:24:1: module "Ubuntu.Components.Popups" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:20:1: module "QtWebKit" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:21:1: module "QtWebKit.experimental" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:23:1: module "Ubuntu.Components" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:24:1: module "Ubuntu.Components.Popups" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:20:1: module "QtWebKit" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:21:1: module "QtWebKit.experimental" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:23:1: module "Ubuntu.Components" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:24:1: module "Ubuntu.Components.Popups" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:20:1: module "QtWebKit" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:21:1: module "QtWebKit.experimental" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:23:1: module "Ubuntu.Components" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:24:1: module "Ubuntu.Components.Popups" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:20:1: module "QtWebKit" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:21:1: module "QtWebKit.experimental" is not installed
Warning: file:///home/vagrant/Baz/platforms/ubuntu/CordovaUbuntu.3.3/CordovaViewInternal.qml:23:1: module "Ubuntu.Components" is not installed

Revision history for this message
David Barth (dbarth) wrote :

sudo apt-get install libqt5webkit5-qmlwebkitplugin
sudo apt-get install qtdeclarative5-ubuntu-ui-toolkit-plugin

solves the previous issues, but then I run into problems with GL shaders:

Warning: QXcbConnection: XCB error: 166 (Unknown), sequence: 267, resource id: 1, major code: 149 (Unknown), minor code: 1
Warning: QXcbConnection: XCB error: 166 (Unknown), sequence: 270, resource id: 0, major code: 149 (Unknown), minor code: 1

(process:17453): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message
QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.
Warning: QXcbConnection: XCB error: 166 (Unknown), sequence: 272, resource id: 0, major code: 149 (Unknown), minor code: 1
Warning: QXcbConnection: XCB error: 166 (Unknown), sequence: 275, resource id: 0, major code: 149 (Unknown), minor code: 1
Warning: QXcbConnection: XCB error: 166 (Unknown), sequence: 278, resource id: 0, major code: 149 (Unknown), minor code: 1
Warning: QOpenGLShaderProgram: could not create shader program
Warning: QOpenGLShader: could not create shader
Warning: QSGMaterialShader: Shader compilation failed:
Warning: ""
Warning: QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
Warning: QOpenGLShaderProgram: could not create shader program
Warning: QOpenGLShader: could not create shader
Warning: QSGMaterialShader: Shader compilation failed:
Warning: ""
Warning: QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
Warning: QXcbConnection: XCB error: 166 (Unknown), sequence: 280, resource id: 0, major code: 149 (Unknown), minor code: 1

David Barth (dbarth)
Changed in cordova-ubuntu:
importance: Undecided → Low
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.