[PyQt] ANN: pyqtdeploy v2.0 Released

Patrick Stinson patrickkidd at gmail.com
Tue Jan 9 22:56:04 GMT 2018


Ah, still set to $SYSROOT/bin/python from pyqtdeploy-v1. Seems like there are various little settings like this that need to be changed.

All good here for this problem.

> On Jan 9, 2018, at 2:16 PM, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
>> On 9 Jan 2018, at 8:07 pm, Patrick Stinson <patrickkidd at gmail.com> wrote:
>> 
>> The build for the entire ios-64  sysroot completed once I I patched and re-zipped Python-3.4.6 @ Modules/posixmodule.c:200:
>> 
>> #if defined(__APPLE__) && defined(__MACH__)
>>    /* Apple OSX and iOS (Darwin). ------------------------------ */
>> #include <TargetConditionals.h>
>> #if TARGET_IPHONE_SIMULATOR == 1
>>    /* iOS in Xcode simulator */
>> 
>>    #undef HAVE_SYSTEM
>> 
>> #elif TARGET_OS_IPHONE == 1
>>    /* iOS on iPhone, iPad, etc. */
>> 
>>    #undef HAVE_SYSTEM
>> 
>> #elif TARGET_OS_MAC == 1
>>    /* OSX */
>> 
>> #endif
>> #endif
>> 
>> Then pyqtdeplpoy-build fails with this:
>> 
>> pyqtdeploy-build --verbose --sysroot ~/dev/vendor/sysroot-ios-64 --target ios-64 --build-dir build/ios pkdiagram.pdy
>> Cleaning /Users/patrick/dev/pkdiagram/build/ios
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/pkdiagram
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/pkdiagram/objects
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/pkdiagram/util
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/collections
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/ctypes
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/email
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/encodings
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/http
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/importlib
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/logging
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/urllib
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/xml
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/xml/parsers
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/chardet
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/chardet/cli
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/idna
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/requests
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/urllib3
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/urllib3/contrib
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/urllib3/contrib/_securetransport
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/urllib3/packages
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/urllib3/packages/backports
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/urllib3/packages/ssl_match_hostname
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/urllib3/util
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/xlsxwriter
>> Creating directory /Users/patrick/dev/pkdiagram/build/ios/resources/PyQt5
>> Running '/Users/patrick/dev/vendor/sysroot-ios-64/bin/python -OO /var/folders/5t/xnfn85cs1kq_xdllp0wqyx3w0000gn/T/qt_temp-eHXZbe/freeze.py /var/folders/5t/xnfn85cs1kq_xdllp0wqyx3w0000gn/T/qt_temp-eHXZbe/jobs.csv'
>> pyqtdeploy-build: Unable to freeze files: execvp: No such file or directory
>> make: *** [build/ios/Family Diagram.pro] Error 1
>> turin:pkdiagram patrick$
>> 
>> Indeed, sysroot-ios-64/bin/python does not exist, but sysroot-ios-64/host/bin/python does.
> 
> So what is the value of "Interpreter" on the Locations tab for the project file?
> 
> Phil


More information about the PyQt mailing list