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.

        1. Example.zip
          2 kB
          Marscho
        2. image-2021-10-08-10-07-18-676.png
          2 kB
          Marscho
        For Gerrit Dashboard: QTBUG-97271
        # Subject Branch Project Status CR V

            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