Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. QtWebAssembly - Push button does not work
Forum Updated to NodeBB v4.3 + New Features

QtWebAssembly - Push button does not work

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
2 Posts 1 Posters 370 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bhimesh
    wrote on last edited by
    #1

    Hello,
    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:

    0f531936-70c1-4a19-b0d7-d656d704d0b7-image.png

    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

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bhimesh
      wrote on last edited by
      #2

      Hello,
      Thank you, I found out the issue.

      The problem was with emscripten version. The qt6 requires 2.0.14, but i have installed latest version 3.x.x
      now i have installed the correct version and it works fine.

      Thank you.
      Bhimesh G K

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved