New changes are not reflected after QML files are changed

Bug #1547285 reported by XiaoGuo, Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu SDK IDE
New
Undecided
Unassigned

Bug Description

I created a qmlproject usng ubuntu SDK IDE:

ubuntu-sdk-ide:
  Installed: 3.5.1~117+201601271602~ubuntu15.04.1
  Candidate: 3.5.1~117+201601271602~ubuntu15.04.1
  Version table:
 *** 3.5.1~117+201601271602~ubuntu15.04.1 0
        500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

I tried to change the width and height of the MainView:

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

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

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

It is not correctly reflected. The steps are:

1) I firstly deploy the app onto phone (armhf)
2) then Change the width and height in the above code
4) Then re-run the app for Ubuntu SDK desktop kit

I find that the new width and height are not correctly reflected after the change.

In order to workaround the issue, I need to remove the QML files under the directory ".ubuntu-sdk-deploy" under the project.

Removing qmlproject support will have big impact on the existing tutorials and also result in not being able to run the Qt SDK examples. In addition, qmake project takes longer time to compile, which is not so efficient when prototyping a project.

Best regards,
XiaoGuo

description: updated
description: updated
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.