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
QtWS25 Last Chance

Problem with QCalendarWidget

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
3 Posts 2 Posters 331 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.
  • A Offline
    A Offline
    apaczenko1993
    wrote on 11 Sept 2024, 13:33 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

    J 1 Reply Last reply 11 Sept 2024, 13:42
    1
    • A apaczenko1993
      11 Sept 2024, 13:33

      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

      J Offline
      J Offline
      JonB
      wrote on 11 Sept 2024, 13:42 last edited by JonB 9 Nov 2024, 13:43
      #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 12 Sept 2024, 12:08
      • A Offline
        A Offline
        apaczenko1993
        wrote on 12 Sept 2024, 12:09 last edited by
        #3

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

        1 Reply Last reply
        1

        3/3

        12 Sept 2024, 12:09

        • Login

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