In the previous recipe, we learned how to call C++ functions from JavaScript through Qt's WebChannel system. In this example, we will try to do the reverse: call JavaScript functions from C++ code.
In the previous recipe, we learned how to call C++ functions from JavaScript through Qt's WebChannel system. In this example, we will try to do the reverse: call JavaScript functions from C++ code.