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

QMake generated "Project Copy" script for XCode does not work with spaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      MacOS 11.4
      XCode 12.0.1
    • Platform/s:
      macOS

      Description

      If an application target name has spaces in it, qmake's "Project Copy" script will not work, because it generates a cp statement without quotes.

      For example, in our project's build directory, the entire script's text is:

      #!/bin/sh
      cp -r $BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME /Users/alexmont/macDbg/src/Malpua/source

      which fails because the cp statement isn't quoted.

       

       

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            alexmont Alex Montgomery
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes