Results 1 to 8 of 8

Thread: QTScript - getting the name of a QScriptValue

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jun 2009
    Posts
    13
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    4

    Default Re: QTScript - getting the name of a QScriptValue

    the purpose for that is a modified include function which already exists. i have a specific script which is used so often that it should be available in an own function.
    when using the script you specify the simulation manually with a command like in my example. the idea is to use the runtime name of the simulation and insert it into the script automatically, so that the code can be parsed with the correct simulation.
    there is of course a way of using the functions which would be called via the script directly in that function, but this method has other disadvantages.

    thanks again for your time!
    Last edited by android_; 28th October 2009 at 14:41.

Similar Threads

  1. QtScript: default constructor question
    By QPlace in forum Qt Programming
    Replies: 1
    Last Post: 22nd October 2009, 20:36
  2. QtScript evaluation question
    By QPlace in forum Qt Programming
    Replies: 0
    Last Post: 22nd October 2009, 04:46
  3. QScriptValue with simple typedef types
    By JohannesMunk in forum Newbie
    Replies: 9
    Last Post: 14th May 2009, 16:07
  4. QtScript Binding problem with QWidget
    By zack in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2009, 10:38
  5. QtScript Q_ENUM problem
    By oc2k1 in forum Qt Programming
    Replies: 0
    Last Post: 14th May 2007, 17: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.