[PyQt] Building sysroots for older macOS SDKs

Phil Thompson phil at riverbankcomputing.com
Tue Aug 28 11:04:40 BST 2018


On 27 Aug 2018, at 6:57 pm, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Hi,
> 
> What is the proper way to get pyqtdeploy-sysroot to build for an earlier macOS SDK? I have the SDKs on my drive, and found the Sysroot.apple_sdk attribute in the docs, but don’t know how to use it. Or is there another way?

qmake uses xcrun to determine which SDK to use. pyqtdeploy-sysroot (when qmake is not being used) uses the latest SDK according to the version number embedded in the filename.

You can change it in qmake my setting modifying QMAKE_MAC_SDK in the .pro file.

However, there is no need to not use the latest available SDK.

Phil


More information about the PyQt mailing list