Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106584

Uncaught Please compile your program with async support in order to use asynchronous operations like emscripten_sleep(未捕获 请使用异步支持编译您的程序,以便使用 emscripten_sleep 等异步操作)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.4
    • 5.15.12
    • Network: HTTP
    • None
    • windows11
    • WebAssembly

    Description

      Purpose: I create a demo of the window interface, and then call the HTTP interface of the external web service in the demo, and intend to write the data returned by the interface back to the page(目的:我这边创建一个窗口界面的demo,然后在demo里面调用外部web服务的http接口,并打算将接口返回的数据写回到页面。)

      Process: try to compile the project using the webassembly suite, call the HTTP interface in the web page, and then write back the data to the page(过程:尝试使用WebAssembly套件编译项目并在网页中操作调用http接口,然后回写数据到页面)

      Problem: Uncaught Please compile your program with async support in order to use asynchronous operations like emscripten_sleep(问题:未捕获 请使用异步支持编译您的程序,以便使用 emscripten_sleep 等异步操作)

       

       

      Attachments

        Activity

          People

            lpotter Lorn Potter
            jfccg JIEBIN CAO
            Lorn Potter Lorn Potter
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: