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

QThread + QWidget webassembly: Application exit (TypeError: Browser.mainLoop.scheduler is not a function)

    XMLWordPrintable

Details

    • WebAssembly
    • c034089fa697e6dc22f04b3209768a9dc1abcb9c (qt/qtbase/5.14)

    Description

      A simple example with QThread signaling a widget to update text does not work.

      The code is attached.

      The message on the web browser is:

      Application exit (TypeError: Browser.mainLoop.scheduler is not a function)

       

       

      Attachments

        1. main.cpp
          0.2 kB
        2. qth_widget.cpp
          1 kB
        3. qth_widget.h
          0.6 kB
        4. qth_widget.ui
          0.7 kB
        5. qthread_widgets.pro
          1.0 kB

        Activity

          People

            lpotter Lorn Potter
            jacum Giacomo
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: