Results 1 to 3 of 3

Thread: QML file not loading external JS file?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Apr 2010
    Posts
    3
    Platforms
    Windows Symbian S60

    Default Re: QML file not loading external JS file?

    Trolltech's tutorial for 4.7 snapshot on integrating JavaScript states the import statement should be used to load external JavaScript files:

    http://doc.qt.nokia.com/4.7-snapshot...avascript.html

    The script { } method was superseded by the import method. However the code you suggested does work, so my next question is, do you know when it was superseded?
    Last edited by anothertest; 14th April 2010 at 09:17. Reason: updated contents

Similar Threads

  1. Open an external file from qt
    By maider in forum Qt Programming
    Replies: 9
    Last Post: 12th March 2010, 10:09
  2. Using qDebug to write to an external file
    By qtUser500 in forum Newbie
    Replies: 4
    Last Post: 18th November 2009, 14:01
  3. External Javascript file not loading initially
    By bkudrle in forum Qt Programming
    Replies: 0
    Last Post: 13th March 2009, 17:05
  4. OpenGL file loading formats
    By TheKedge in forum Qt Programming
    Replies: 0
    Last Post: 6th August 2008, 15:44
  5. Database: How to use an external file?
    By goes2bob in forum Newbie
    Replies: 10
    Last Post: 23rd January 2008, 14:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.