'QtWebAssembly - Push button does not work

I am new to QtWebAssembly. I am trying to build a simple app "Hello World" as a starting point to understand. The app contains a push button and when it is clicked a qlabel with text is set to visible using slot.

When i build and run the app, my firefox browser runs and opens a page as shown below:

ex-app

But, i am not able to access the button or the button is not working. I am working on OS - Ubuntu 20.x

I need an helping hand on what i am missing so that when I press the button the qlabel should be visible.

Thank you. Bhimesh G K



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source