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

[Wasm] Accessing QSettings crashes the application

    XMLWordPrintable

Details

    • WebAssembly

    Description

      Accessing QSettings from a webassembly application runs into:

      Uncaught RuntimeError: null function or function signature mismatch
          at QConfFileSettingsPrivate::initAccess() (new:245:10)
          at QWasmSettingsPrivate_onCheck(void*, int) (new:245:10)
          at eval (eval at completeLoadEmscriptenModule (qtloader.js:470:9), <anonymous>:11172:48)
          at req.onsuccess (eval at completeLoadEmscriptenModule (qtloader.js:470:9), <anonymous>:11149:11)

      Tried with emsdk 3.1.15 (3.0.0 to verify, as it seems to be used for the upstream Qt builds). Please find the attached example to reproduce the case.

      Attachments

        1. wasmsettings.tgz
          1 kB
          Cajus Pollmeier
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            cajus Cajus Pollmeier
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes