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. Web Assembly: QtQuick or QtWidget?
Forum Updated to NodeBB v4.3 + New Features

Web Assembly: QtQuick or QtWidget?

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
3 Posts 3 Posters 270 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.
  • Dave von OrlandoD Offline
    Dave von OrlandoD Offline
    Dave von Orlando
    wrote on last edited by
    #1

    Hi, I'm approaching to Qt6 to create wasm application.
    But, for example, QMessageBox does not work on them. I have Qt6.8 and Emscripten ver. 1.3.56.
    QtQuick use Dialog, but QtWidget?

    JonBJ 1 Reply Last reply
    0
    • Dave von OrlandoD Dave von Orlando

      Hi, I'm approaching to Qt6 to create wasm application.
      But, for example, QMessageBox does not work on them. I have Qt6.8 and Emscripten ver. 1.3.56.
      QtQuick use Dialog, but QtWidget?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Dave-von-Orlando
      Never used WASM, but e.g. https://bugreports.qt.io/browse/QTBUG-116608 (the bug is not important, and was fixed anyway) shows a user using QMessageBox in WASM? It says "Tested on 6.5.2 (single threaded, no async)", I don't know if that affects you.

      R 1 Reply Last reply
      1
      • JonBJ JonB

        @Dave-von-Orlando
        Never used WASM, but e.g. https://bugreports.qt.io/browse/QTBUG-116608 (the bug is not important, and was fixed anyway) shows a user using QMessageBox in WASM? It says "Tested on 6.5.2 (single threaded, no async)", I don't know if that affects you.

        R Offline
        R Offline
        RandomGuy
        wrote on last edited by
        #3

        @JonB Yup that is me. It works just fine. He probably just used .exec() which will cause the application to crash without asyncify. You should use .show() instead.

        1 Reply Last reply
        1

        • Login

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