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. Problem with QCalendarWidget
Qt 6.11 is out! See what's new in the release blog

Problem with QCalendarWidget

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
3 Posts 2 Posters 738 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.
  • A Offline
    A Offline
    apaczenko1993
    wrote on last edited by
    #1

    Hello I have created test app with WebAssembly, but after pressing month combo to select another month, the app frezze. Maybe someone knows how to fix it: ) I have Qt 6.5.3
    Below error:
    2024-09-11_15h09_47.jpg

    JonBJ 1 Reply Last reply
    1
    • A apaczenko1993

      Hello I have created test app with WebAssembly, but after pressing month combo to select another month, the app frezze. Maybe someone knows how to fix it: ) I have Qt 6.5.3
      Below error:
      2024-09-11_15h09_47.jpg

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

      @apaczenko1993
      Looking at the stack trace pane at the right you are actually getting an error message from the code. I presume that is cause of your "freeze" and you need to address that.

      I don't use WASM so I cannot answer further. But if you look at e.g. https://forum.qt.io/topic/134683/qt-6-3-asyncify that is to do with how you enable asyncify for WASM.

      After I success compile qt6.3.0 with asyncify. I found it works!!!

      Also https://doc.qt.io/qt-6/wasm.html#asyncify.

      1 Reply Last reply
      3
      • A apaczenko1993 has marked this topic as solved on
      • A Offline
        A Offline
        apaczenko1993
        wrote on last edited by
        #3

        adding this "QMAKE_LFLAGS += -sASYNCIFY -Os" in pro file solve problem, thanks!

        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