HTML5 application and Html5ApplicationViewPrivate
-
Hi,
I created a new project (Qt 5.0.2) using the "new HTML5 application" wizard, which created for me the Html5ApplicationViewer class (.h and .cpp). Html5ApplicationViewer.cpp defines a private class called Html5ApplicationViewerPrivate that is used as the "bridge" between C++ and [removed] its public slots can be called from the Javascript side. I would like to add new slots to this class, so I can call them from the Javascript side, but it is written at the top of Html5ApplicationViewer.cpp that : "It is recommended not to modify this file, since newer versions of Qt Creator may offer an updated version of it."...So what is the correct way to add new C++ functions callable from the Javascript side?
Thank you!