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. My webassembly app closes as it opens
Forum Updated to NodeBB v4.3 + New Features

My webassembly app closes as it opens

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 1 Posters 400 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    sheqo
    wrote on 5 Dec 2022, 23:13 last edited by
    #1

    Hello, I have created an interface and I want to show it on the web with Webassembly. According to the QT documentation, I installed emsdk and successfully converted my project to webassembly format. When I run my project through QT Creator, it appears instantly on the website, but when interacting with a button in any way or even if I move the cursor over a button, the screen goes blank. can you help me i hope i explained the situation well

    45e93136-fee2-43c6-a3ae-0ae59320fbd2-image.png
    51ed3bd1-bab0-4a99-9778-356ae4b647d6-image.png

    1
    581d019e-d1de-45b7-8057-46e21bd3a2af-image.png image url)
    2- Screen goes black when moving cursor
    08810ff1-cc4d-4e20-858a-5dc2081a83e3-image.png image url)

    I would appreciate any help I am really confused

    S 1 Reply Last reply 5 Dec 2022, 23:24
    0
    • S sheqo
      5 Dec 2022, 23:13

      Hello, I have created an interface and I want to show it on the web with Webassembly. According to the QT documentation, I installed emsdk and successfully converted my project to webassembly format. When I run my project through QT Creator, it appears instantly on the website, but when interacting with a button in any way or even if I move the cursor over a button, the screen goes blank. can you help me i hope i explained the situation well

      45e93136-fee2-43c6-a3ae-0ae59320fbd2-image.png
      51ed3bd1-bab0-4a99-9778-356ae4b647d6-image.png

      1
      581d019e-d1de-45b7-8057-46e21bd3a2af-image.png image url)
      2- Screen goes black when moving cursor
      08810ff1-cc4d-4e20-858a-5dc2081a83e3-image.png image url)

      I would appreciate any help I am really confused

      S Offline
      S Offline
      sheqo
      wrote on 5 Dec 2022, 23:24 last edited by
      #2

      @sheqo EDIT: I tried it on a new project and web assembly works fine, but there is something wrong with this project, can you think of anything?

      1 Reply Last reply
      0

      2/2

      5 Dec 2022, 23:24

      • Login

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