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

QMake does not work with Xcode 15

XMLWordPrintable

    • macOS

      When trying to build a project (macos, ios) with qmake, I get the error

      failed to parse default search paths from compiler output
      

      (originating in toolchain.prf:293 (6.5.2)). This is because QMAKE_DEFAULT_LIBDIRS is empty.

      Qmake seems to try to parse these from clang output:

      LC_ALL=C /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -pipe -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -g0 -single_module -dynamiclib -o /dev/null -v -Wl,-v -xc++ - 2>&1 </dev/null >/dev/null
      

      This reports empty "Library search paths:" for Xcode 15. For Xcode 14.3.1 it's not empty.

        1. 5.15-xcode15.png
          3.31 MB
          Ilya Parniuk
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            frank.osterfeld Frank Osterfeld
            Votes:
            0 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes