Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

can i declare a global or file lavel variable in the java script file?? if it is possible.. it will solve my issue



  • hi,
    I am writing an application in Qt5, and I have used QtScript (script engine) to evaluate JavaScript.
    i want to know wether i can write a global variable in java script.
    please help


Log in to reply