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

WASM - Consider CMAKE_RUNTIME_OUTPUT_DIRECTORY for wasm_shell.html/qtloader.js/qtlogo.svg

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.5.0 Beta2
    • 6.2.0
    • Build System: CMake
    • None
    • Windows 10 20H2

      cmake 3.21.3

      emsdk 2.0.15

    • WebAssembly

      I think if CMAKE_RUNTIME_OUTPUT_DIRECTORY is set the wasm_shell.html/qtloader.js/qtlogo.svg should be copied there.

      The js and wasm file are placed in the CMAKE_RUNTIME_OUTPUT_DIRECTORY.

       

      edit:

      I have attached an example.

      The directory structure I use would look like like this:

      Where Example is the source directory. CMake is configured from the Build directory.

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

            lpotter Lorn Potter
            Marscho Marscho
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes