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

WebAssembly (WASM) MEMORY control fixes

XMLWordPrintable

    • WebAssembly
    • af36dc7d76 (qt/qtbase/dev) af36dc7d76 (qt/tqtc-qtbase/dev) e301498fa4 (qt/qtbase/6.3) e301498fa4 (qt/tqtc-qtbase/6.3) 1805f568ec (qt/qtbase/6.2) 1805f568ec (qt/tqtc-qtbase/6.2) e301498fa4 (qt/tqtc-qtbase/6.3.0)

      The compiler variable QT_WASM_INITIAL_MEMORY does not seem to be respected in the build process. I tried setting it multiple ways (and even tried the old QT_WASM_TOTAL_MEMORY variable). I verified these are getting set in the CMakeCache.txt. But the linker always passed --s INITIAL_MEMORY = 20MB. The only way I resolved this was by manually changing Qt6Targets.cmake in the wasm_32 installation.

      I see that QtWasmHelpers.cmake should be handling this, but it doesn't seem to be used.

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

            lpotter Lorn Potter
            pendletonic Corey Pendleton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes