Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30245

Copying CMake configuration keys/values from the table in Projects/Build will not encase values with quotes when necessary

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 12.0.1

      Copying CMake configuration keys/values from the table in Projects/Build will not encase values with quotes when necessary

      Copying values from Projects pane:

      These values are then copied without quotes around the value:

      -DTEST_FLAGS_ARGS:STRING=-Ofast -Wall -Whatever
      -DTEST_PATHNAME_WITH_SPACES:PATH=C:/Program Files/Something
      

      This is a problem because if you were to paste into a command line, the declarations would be misinterpreted as multiple arguments.
      It should look like this:

      -DTEST_FLAGS_ARGS:STRING="-Ofast -Wall -Whatever"
      -DTEST_PATHNAME_WITH_SPACES:PATH="C:/Program Files/Something"
      

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

            cadam Cristian Adam
            ewangreen4 Ewan Green
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes