[PyQt] Building sysroots for older macOS SDKs

Patrick Stinson patrickkidd at gmail.com
Tue Aug 28 13:41:03 BST 2018


Ah. This all makes sense now. Your comments redirected me to the qt deployment page which has the info on backward compatibility I was looking for.

> On Aug 28, 2018, at 3:04 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
>> 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