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

Extra quotes in multiple custom command line options passed to Qbs for compiler/linker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.1.0
    • None
    • Linux 4.4.0-31-generic x86_64

    Description

      Tools -> Qbs -> Profiles -> Profile properties -> Edit... -> Add:
      Key: cpp.platformCommonCompilerFlags
      Value: -option1 -option2

      Command line at compilation:
      g++ '-option1 -option2'

      Error message:
      g++: error: unrecognized command line option '-option1 -option2'

      Should be:
      g++ -option1 -option2

      The same situation for cpp.platformLinkerFlags.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            dtokarev Dmitrii Tokarev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes