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

QMake does not work with Xcode 15 for iOS builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.6.0 RC
    • Build tools: qmake
    • None
    • iOS/tvOS/watchOS

    Description

      When trying to build a project on MacOs for iOS with qmake, I get the errors
      /Users/xxx/Qt/6.6.0/ios/mkspecs/features/mac/default_post.prf:5: error: 'xcodeSDKInfo' is not a recognized replace function.
      :-1: warning: Project WARNING: Qt requires at least version 16.2 of the platform SDK, you're building against version . Please upgrade.

      Warning points to this line:
      QMAKE_MAC_SDK_VERSION = $$xcodeSDKInfo(SDKVersion)

      Have manually applied https://codereview.qt-project.org/c/qt/qtbase/+/506653/2/mkspecs/features/toolchain.prf so qmake builds for macOs now work fine.

      MacOs: Ventura 13.6 (22G120)
      XCode: Version 15.0 (15A240d)
      Qt 6.6.0rc from binary installer

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            myk Michael Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes