Results 1 to 4 of 4

Thread: need to run a .js script file

  1. #1
    Join Date
    Dec 2009
    Location
    Romania, Iasi
    Posts
    18
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default need to run a .js script file

    Hello guys,

    I need to run a .js script file from a Qt application to control another application (Amibroker). Does somebody knows how to instantiate a .js file from a Qt application?

    Thanks in advance!

  2. #2
    Join Date
    Dec 2009
    Location
    Romania, Iasi
    Posts
    18
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: need to run a .js script file

    Well it seems QAxScriptManager can do this, but it simply doesn't work
    Last edited by vcernobai; 25th August 2010 at 22:18.

  3. #3
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: need to run a .js script file

    You can have a look in Qt Demos.. there is example of using js files...
    not sure if you want same thing..

  4. #4
    Join Date
    Dec 2009
    Location
    Romania, Iasi
    Posts
    18
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: need to run a .js script file

    No, doesn't work the QtScript methods.

Similar Threads

  1. How to get value from Script file?
    By superinman in forum Qt Programming
    Replies: 2
    Last Post: 30th July 2010, 23:06
  2. Using QT Script...
    By minhaz in forum Newbie
    Replies: 1
    Last Post: 18th August 2009, 22:29
  3. Can I include a script from script?
    By yycking in forum Qt Programming
    Replies: 1
    Last Post: 24th April 2009, 03:01
  4. Qt script
    By rajesh_clt3 in forum Qt Programming
    Replies: 2
    Last Post: 27th July 2007, 12:40
  5. need script to change qmake .pro file
    By rajeshs in forum Qt Programming
    Replies: 5
    Last Post: 7th July 2007, 17:53

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.