JavaScript seems to be disabled in your browser. You must have JavaScript enabled in your browser to utilize the functionality of this website.
You currently have no notifications.
Is it possible to expose a class to the scripting environment?
Yes, exposing your own classes to script is possible.
- Making a C++ object available to Scripts Written in QtScript - Making C++ Class Member Functions Available in QtScript - Making C++ Class Properties Available in QtScript - Reacting to C++ Objects Signals in Scripts
-Rob
This was exactly what I was looking for!
Comments
Yes, exposing your own classes to script is possible.
- Making a C++ object available to Scripts Written in QtScript
- Making C++ Class Member Functions Available in QtScript
- Making C++ Class Properties Available in QtScript
- Reacting to C++ Objects Signals in Scripts
-Rob
This was exactly what I was looking for!