Results 1 to 11 of 11

Thread: Accessing array in both C++ and QtScript

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Posts
    24
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Accessing array in both C++ and QtScript

    No doubt that Qt's great for building interfaces (I do it all the time), but for this particular usage of WebKit could have been a great fit. By having the tutorials themselves be on an intranet as web pages, I'd be free to update them as time permits without having to worry about a new release of the software -- just update the HTML and Javascript on the servers. At the same time, I'd be able to allow the users to provide their own sample data for use in the tutorial. There are still ways to do it, but it would have been nice for the Javascript to have direct access to the float arrays I'm using in the application for display in HTML.

    It's not a showstopper or anything, it would have just been a nice solution for this particular component.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Accessing array in both C++ and QtScript

    Quote Originally Posted by abernat View Post
    By having the tutorials themselves be on an intranet as web pages, I'd be free to update them as time permits without having to worry about a new release of the software -- just update the HTML and Javascript on the servers.
    That's really not an argument as you can download files from a webserver without WebKit as well. And users can still manipulate the environment using QtScript.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QTScript - checking variable names?
    By android_ in forum Qt Programming
    Replies: 1
    Last Post: 15th June 2009, 19:40
  2. QtScript Binding problem with QWidget
    By zack in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2009, 10:38
  3. QtScript : passing array as argument into function
    By derek_r in forum Qt Programming
    Replies: 4
    Last Post: 27th October 2007, 11:46
  4. QtScript Q_ENUM problem
    By oc2k1 in forum Qt Programming
    Replies: 0
    Last Post: 14th May 2007, 17:07

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.