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

WebAssemby application built with Qt 5.13.0 binary package does not start

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.13.0
    • Core: Other
    • None
    • Ubuntu 19.04, running in VirtualBox
    • WebAssembly

    Description

      I installed Qt 5.13.0 for WebAssembly on Linux. My emscripten SDK version is 1.38.16. When launcing my built application via emrun, I get this error and trace:

      exception thrown: abort(-1) at jsStackTrace@http://localhost:6931/qtloader.js line 439 > eval:1119:13
      stackTrace@http://localhost:6931/qtloader.js line 439 > eval:1136:12
      abort@http://localhost:6931/qtloader.js line 439 > eval:19927:44
      _emscripten_set_keydown_callback_on_thread@http://localhost:6931/qtloader.js line 439 > eval:15557:71
      QWasmEventTranslator::initEventHandlers() [__ZN20QWasmEventTranslator17initEventHandlersEv]@http://localhost:6931/untitled2.wasm:wasm-function[1332]:0x2d2a7
      QWasmEventTranslator::QWasmEventTranslator(QWasmScreen*) [__ZN20QWasmEventTranslatorC2EP11QWasmScreen]@http://localhost:6931/untitled2.wasm:wasm-function[1330]:0x2cecb
      QWasmScreen::QWasmScreen(QString const&) [__ZN11QWasmScreenC2ERK7QString]@http://localhost:6931/untitled2.wasm:wasm-function[1298]:0x2b5eb
      QWasmIntegration::QWasmIntegration() [__ZN16QWasmIntegrationC2Ev]@http://localhost:6931/untitled2.wasm:wasm-function[1228]:0x28d92
      QWasmIntegrationPlugin::create(QString const&, QStringList const&) [__ZN22QWasmIntegrationPlugin6createERK7QStringRK11QStringList]@http://localhost:6931/untitled2.wasm:wasm-function[1210]:0x27ad5
      QPlatformIntegrationPlugin::create(QString const&, QStringList const&, int&, char**) [__ZN26QPlatformIntegrationPlugin6createERK7QStringRK11QStringListRiPPc]@http://localhost:6931/untitled2.wasm:wasm-function[16522]:0x513ebb
      QPlatformIntegration* qLoadPlugin<QPlatformIntegration, QPlatformIntegrationPlugin, QStringList const&, int&, char**&>(QFactoryLoader const*, QString const&, QStringList const&&&, int&&&, char**&&&) [__Z11qLoadPluginI20QPlatformIntegration26QPlatformIntegrationPluginJRK11QStringListRiRPPcEEPT_PK14QFactoryLoaderRK7QStringDpOT1_]@http://localhost:6931/untitled2.wasm:wasm-function[26494]:0x675df5
      QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) [__ZN27QPlatformIntegrationFactory6createERK7QStringRK11QStringListRiPPcS2_]@http://localhost:6931/untitled2.wasm:wasm-function[26492]:0x675d8c
      init_platform(QString const&, QString const&, QString const&, int&, char**) [__ZL13init_platformRK7QStringS1_S1_RiPPc]@http://localhost:6931/untitled2.wasm:wasm-function[16793]:0x518edd
      QGuiApplicationPrivate::createPlatformIntegration() [__ZN22QGuiApplicationPrivate25createPlatformIntegrationEv]@http://localhost:6931/untitled2.wasm:wasm-function[16776]:0x51882f
      QGuiApplicationPrivate::createEventDispatcher() [__ZN22QGuiApplicationPrivate21createEventDispatcherEv]@http://localhost:6931/untitled2.wasm:wasm-function[16758]:0x517b1f
      QCoreApplicationPrivate::init() [__ZN23QCoreApplicationPrivate4initEv]@http://localhost:6931/untitled2.wasm:wasm-function[38767]:0xb3d513
      QGuiApplicationPrivate::init() [__ZN22QGuiApplicationPrivate4initEv]@http://localhost:6931/untitled2.wasm:wasm-function[16850]:0x519ee6
      QGuiApplication::QGuiApplication(int&, char**, int) [__ZN15QGuiApplicationC2ERiPPci]@http://localhost:6931/untitled2.wasm:wasm-function[16848]:0x519d8c
      _main@http://localhost:6931/untitled2.wasm:wasm-function[1131]:0x270fa
      Module._main@http://localhost:6931/qtloader.js line 439 > eval:19183:33
      callMain@http://localhost:6931/qtloader.js line 439 > eval:19800:22
      doRun@http://localhost:6931/qtloader.js line 439 > eval:19858:49
      run/<@http://localhost:6931/qtloader.js line 439 > eval:19869:7
      qtloader.js:378:25
      

      This happens in Firefox 68.0 and latest Chromium browser.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              lpotter Lorn Potter
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes