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

qmake generates incorrect Xcode project when TARGET has spaces in it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.1
    • 4.6.2
    • Build tools: qmake
    • None
    • Mac OS X 10.5.8. Xcode 3.1.4. Qt 4.6.2.
    • 417771c1a5434885e1e7bc1edcd93a36e7a7fe52

    Description

      When generating an Xcode project from a pro file that has a target where the string has a space character in it,
      the resulting xcode project fails to build.

      Reproducible with:

      make a simple project,
      In the pro file include
      TARGET = "My Application"
      generate Xcode project, try to compile in Xcode

      ------------

      qmake ends up generating the following script that appears in the 'Qt Qmake' step of the application target in Xcode:

      make -C /Users/user/MyApp -f My Application.xcodeproj/qt_makeqmake.mak

      -------------

      it should be (notice the quotes):

      make -C /Users/user/MyApp -f "My Application.xcodeproj/qt_makeqmake.mak"

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              cmeyer Chris Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes