×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Apr 2011
    Posts
    89

    How to open a file in QML script?

    as title. Thanks.

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: How to open a file in QML script?

    I think you can try any of the ways

    A. Create a plugin for qml in Qt and import that to qml and use the plug in to open the file
    B. Use JavaScript to manipulate the file (though I have not tried this myself)

  3. #3
    Regular Contributor
    Join Date
    Apr 2011
    Posts
    89

    Re: How to open a file in QML script?

    Hi,

    Just exploring method A.

    I think method B is preferred. But also wonder if it is possible for a Java script to operate a file like opening/editing?

    Thanks

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: How to open a file in QML script?

    At least in internet there are something about it
    for example http://www.c-point.com/JavaScript/ar...JavaScript.htm

Similar Threads

  1. 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
  2. How to link the qml file?
    By ShekChien in forum [Archived] Qt Quick
    Replies: 10
    Last Post: 2011-04-18, 22:51
  3. how to open file in the helloworldbasic?
    By ipis in forum Symbian
    Replies: 2
    Last Post: 2005-10-28, 04:32
  4. how to embed wml script in wml file
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-16, 01:35

Posting Permissions

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