[PyQt] ANN: pyqtdeploy v2.0 Released

Phil Thompson phil at riverbankcomputing.com
Tue Jan 9 11:53:15 GMT 2018


On 9 Jan 2018, at 4:09 am, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Maybe another or related bug where building for target macos-64 builds python from source with arch flags for iOS?
> 
> turin:vendor patrick$ pyqtdeploy-sysroot --component python --target macos-64 sysroot.json 
> 
> Building the target Python from source
> Configuring Python v3.6.4 for macos-64
> Installing /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.6.4/Python-3.6.4/Modules/config.c
> Generating /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.6.4/Python-3.6.4/pyconfig.h
> Installing /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.6.4/Python-3.6.4/python.pro
> Info: creating stash file /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.6.4/Python-3.6.4/.qmake.stash
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -pipe -fwrapv -std=c99 -g -fPIC  -arch arm64  -arch x86_64 -Xarch_arm64 -miphoneos-version-min=10.0 -Xarch_arm64 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Xarch_x86_64 -mios-simulator-version-min=10.0 -Xarch_x86_64 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -fobjc-nonfragile-abi -fobjc-legacy-dispatch -w -fembed-bitcode-marker -DQT_COMPILER_SUPPORTS_SSE2 -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.6\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.6\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"ios\" -DABIFLAGS=\"m\" -I. -I../../../../lib/Qt/5.10.0/ios/mkspecs/common/uikit -I. -IInclude -I../../../../lib/Qt/5.10.0/ios/mkspecs/macx-ios-clang -o .obj/getbuildinfo.o Modules/getbuildinfo.c
> 
> I installed Qt for both iOS and clang_64 platforms using the standard open source installer, with the following “qt_dir” setup in the qt5 sysroot component:
> 
>     "qt5": {
>         "macos#qt_dir": "/Users/patrick/dev/vendor/lib/Qt/5.10.0/clang_64",
>         "ios#qt_dir": "/Users/patrick/dev/vendor/lib/Qt/5.10.0/ios",
>         "ios#ssl": "securetransport",
>         "macos#ssl": "openssl-linked"
>     },
> 
> With this sysroot config:
> 
>     "python": {
>         "build_host_from_source": true,
>         "build_target_from_source": true,
>         "source": "/Users/patrick/dev/vendor/pyqt-sysroot-base/Python-3.6.4.tgz"
>     },

I can't reproduce this - and I can't see how it might happen.

Phil


More information about the PyQt mailing list