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

qmake generates corrupt Xcode projects

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • bbd1228b17ee3f3a5483f88b0a581d6a60c41cad

    Description

      When qmake generates Xcode projects, it uses the string "<Group>" instead of "<group>" as the PBXFileReference's sourceTree. This leads to users being unable to drag and drop files into the project as the path becomes corrupted, stripping off the leading slash and leading to an "absolute" path like "Users/foo/bar/baz.m".

      We should use the lowercase "<group>" to correct this issue.

      Also, I remember at one point there was a change made to the generator which forced all source file paths to absolute. I wonder if that was actually a workaround for the <Group> vs <group> issue we are seeing now?

      I'll also try to test with older versions of Xcode and older versions of the Xcode project format to see if this was originally <Group> (uppercase) at any point.

      Attachments

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

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes