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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.0.0 Beta2
    • Build System: CMake
    • None
    • Windows
    • 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

        For Gerrit Dashboard: QTBUG-88019
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            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