Q2. What is the name of the class that serves as a bridge to exchange data between JS engine and C++?
Q3. If you want to expose a C++ object to the script, which class must this object be derived from?
- Q_INVOKABLE methods
- Global functions
Q5. When is a PyObject instance destroyed?
- When its value is set to Py_None
- When its internal reference counter drops to 0
- When the corresponding QtPythonValue is destroyed