×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Local reference from network based QML

    This article How_to_create_dynamic_QML_component_by_XML explains how to construct a dynamic UI by parsing XML from a server into QML files.

    I asked the author why you would need to do that - why not just specify the QML directly as a network based import. They returned with "well, if we download the qml as xml then handle it locally then we can use "local" images and don't need to download them"

    I was wondering if this is really valid, or if there is an alternative:
    - can you specify an url that will be used locally from network based QML when it is downloaded?
    - can you cache images locally so they don't need to be re-downloaded
    - can you just download QML from a URL and then execute it locally?

    This is for my interest only.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Local reference from network based QML

    Hello Hamish

    I will try to answer some of your questions. :-)

    Quote Originally Posted by hamishwillee View Post
    - can you specify an url that will be used locally from network based QML when it is downloaded?
    - can you cache images locally so they don't need to be re-downloaded
    -
    I think that will not be done automatically, once we download the image from an url we need to cache it for our further usage. QML doesnt do that automatically.

    Quote Originally Posted by hamishwillee View Post
    can you just download QML from a URL and then execute it locally?
    Yes we can do , we can specify the url of QML file from where we need to load that. Regarding executing that locally i am not sure if the viewer executes that locally, but indeed we can download it with our custom way save it some where and then simply execute it.

    Best Regards,

Similar Threads

  1. QML: disconnect signal object from all slots from QML
    By semlanik in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2012-03-07, 02:39
  2. How to call/load another QML file from QML ?
    By cadlg in forum [Archived] Qt Quick
    Replies: 5
    Last Post: 2011-07-28, 09:15
  3. Reference to local variable 'XYZ' returned
    By patrickfrei in forum Symbian
    Replies: 10
    Last Post: 2008-04-20, 12:02
  4. Accessing network info from Java and location based info in Australia
    By T-Funk in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-12-09, 09:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×