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

Invalid path separator in QtBuildInternalsExtra.cmake

    XMLWordPrintable

Details

    • WebAssembly
    • 51b909a85 (master)

    Description

      Backslashes in the path at the following location causes CMake to fail. Replacing them with forward slashes fixes the problem.

          set(qtbi_orig_prefix "C:\Qt")
          set(qtbi_orig_staging_prefix "C:\Qt\6.5.3\wasm_singlethread")

      (also in wasm_multithreaded)

      The error message in Qt Creator is:

      CMake Error at C:/Qt/6.5.3/wasm_singlethread/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake:45 (set):
        Syntax error in cmake code at    C:/Qt/6.5.3/wasm_singlethread/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake:45  when parsing string    C:\Qt  Invalid character escape '\Q'.{}

      Attachments

        Issue Links

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

          Activity

            People

              tejokitu Teemu Jokitulppo
              indi Indivara Weerasuriya
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes