Qml applications is not working in emulator using meego sdk 1.1



  • i using meego sdk 1.1 and ubuntu 10.04

    while running the Qml application in emulator using meego sdk 1.1 it shows the following error

    Cleaning up remote leftovers first ...
    Initial cleanup done.
    Files to deploy: /home/srmri-pc-027/test-build-meego/rrpmbuild/test-0.0.1-1.i586.rpm.
    Deployment finished.
    Starting remote application.

    access control disabled, clients can connect from any host

    <Unknown File>: File error for URL qrc:/ui.qml

    can anyone tell me the solution for that



  • looks like its not able to find the ui.qml resource file .. is the location and resource path right?
    check the documentation on Qt resource system



  • i gave the correct path as follows

    this->ui->setSource(QUrl("qrc:/ui.qml"));

    but still it shows the same error



  • Are you sure that this qml file is included in this rpm build?
    Try to connect to emulator and file list for your package:
    rpm -ql test-0.0.1-1.i586.rpm | grep ui.qml

    To include QML files you can use this directive in your project file:
    OTHER_FILES += path_to/file.qml


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.