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

configure.bat / qt-configure-module.bat fail with arguments containing equal signs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.0 Beta2
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      2a29426e3915ecc7fa5b4cbb06c7565c40ca2ec6 (qt/qtbase/dev)

      Description

      Arguments like -DCMAKE_PREFIX_PATH=something end up split in the config.opt file that is read by QtProcessConfigureArgs.cmake.

      This happens, because we're writing the arguments in a loop:

      for %%a in (%*) do (
          echo %%a >> config.opt
      )
      

      and this treats the equal sign as argument separator, leading to the following config.opt content:

      -DCMAKE_PREFIX_PATH
      something
      

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes