Important: Please read the Qt Code of Conduct -

QtScript Global Property Initialization

  • When a script is evaluated, is everything in the script engine's globalObject() stuck the way it was at the start of the script? I want a global property (which is used by every script for my application) to be changed every time a script is run, without affecting any other scripts that may be running (I haven't decided whether I need to thread them or not).

Log in to reply