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

Cannot build QtWebEngine on macOS Catalina with supported SDK

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.15.2
    • WebEngine
    • None
    • macOS

    Description

      Trying to build QtWebEngine with MacOSX10.15.sdk (which is the only version supported by Qt) fails.
      ```
      Exception: No 11.1+ SDK found
      ```

      I am using Xcode 12.1 as it is the newest version that ships with a 10.15.x SDK.

      The Qt configure output also tells us that the 10.15.x SDK is supposed to be used.

      Here is a full log of the build process: https://gist.github.com/JulianGro/e959e85227935c5828b20fb9a2e51206 (It's pretty long, so you might want to download as zip on the top right of the page)

      /debug:QtWebEngineCore"' --root=/Users/juliangro/Documents/qt5/qtwebengine/src/3rdparty/chromium 
      ERROR at //build/config/mac/mac_sdk.gni:114:5: Script returned non-zero exit code.
          exec_script("//build/mac/find_sdk.py", find_sdk_args, "list lines")
          ^----------
      Current dir: /Users/juliangro/Documents/qt5-build/qtwebengine/src/core/debug/
      Command: /usr/bin/python2 /Users/juliangro/Documents/qt5/qtwebengine/src/3rdparty/chromium/build/mac/find_sdk.py --print_sdk_path --print_bin_path 11.1
      Returned 1.
      stderr:
      
      Traceback (most recent call last):
        File "/Users/juliangro/Documents/qt5/qtwebengine/src/3rdparty/chromium/build/mac/find_sdk.py", line 127, in <module>
          print(main())
        File "/Users/juliangro/Documents/qt5/qtwebengine/src/3rdparty/chromium/build/mac/find_sdk.py", line 96, in main
          raise Exception('No %s+ SDK found' % min_sdk_version)
      Exception: No 11.1+ SDK found
      
      See //components/nacl/features.gni:9:3: whence it was imported.
        import("//build/config/mac/mac_sdk.gni")
        ^--------------------------------------
      See //BUILD.gn:18:1: whence it was imported.
      import("//components/nacl/features.gni")
      ^--------------------------------------
      Project ERROR: GN run error!
      

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            juliangro Julian Groß
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes