module "Ubuntu.Web" is not installed for Ubuntu SDK Desktop kit

Bug #1559873 reported by XiaoGuo, Liu
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu SDK IDE
New
Undecided
Unassigned

Bug Description

I created a very simple webview example for Ubuntu SDK desktop kit using the "QtQuick App with QML UI (qmake)" template. the code is like:

import QtQuick 2.4
import Ubuntu.Components 1.3
import Ubuntu.Web 0.2

MainView {
    // objectName for functional testing purposes (autopilot-qt5)
    objectName: "mainView"

    // Note! applicationName needs to match the "name" field of the click manifest
    applicationName: "web.liu-xiao-guo"

    width: units.gu(60)
    height: units.gu(85)

    Page {
        title: i18n.tr("web")

        WebView {
            anchors.fill: parent
            url: "http://www.baidu.com"
        }
    }
}

When I run for the desktop kit, it shows me the error:

Starting /home/liuxg/qml/build-web-Ubuntu_SDK_Desktop_Kit-Debug/web/web...
QML debugging is enabled. Only use this in a safe environment.
qrc:///Main.qml:3:1: module "Ubuntu.Web" is not installed
/home/liuxg/qml/build-web-Ubuntu_SDK_Desktop_Kit-Debug/web/web exited with code 0

Currently, there is no way for developers to install extra packages for Ubuntu SDK desktop kit. We can sync with the armhf releases?

Thanks & best regards,
XiaoGuo

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.