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

WebAssembly - QGuiApplication::exit() doesn't exit any more

    XMLWordPrintable

Details

    • WebAssembly

    Description

      For WebAssembly QGuiApplication::exit() doesn't exit any more using Qt 6.3.x and 6.4.x so as a result, showExit is not being called any more : 

                var qtLoader = QtLoader({
      ...
                    showExit: function() {
                        status.innerHTML = "Application exit";
                        if (qtLoader.exitCode !== undefined)
                            status.innerHTML += " with code " + qtLoader.exitCode;
                        if (qtLoader.exitText !== undefined)
                            status.innerHTML += " (" + qtLoader.exitText + ")";
                        spinner.style.display = 'block';
                        canvas.style.display = 'none';
                    },
      ...

      It did using Qt 6.2.2 .

      Attachments

        Activity

          People

            mikolaj.boc Mikołaj Boc
            csnt Csaba Szigeti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: