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

Incorrect propagation of iOS bitcode and -fapplication-extension flags to user projects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 Beta1
    • Fix Version/s: 6.1.3, 6.2.0 Beta2
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      The build system currently adds bitcode compile and link flags on the PlatformCommonInternal target, with the intention that the flags are only added when building Qt itself, so Qt modules, plugins, etc.

      For user projects, it's up to the Xcode setting of ENABLE_BITCODE whether user project code should build with bitcode or not.

      Currently the internal flags spill out and get forcefully added to user projects, effectively forcing bitcode to always be on for user projects.

      The same happens with the -fapplication-extension flags is static build of iOS and macOS.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews