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

qmake generates incorrect Xcode project when TARGET has spaces in it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important 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

      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"

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes