[PyQt] pyrcc5 on iOS sysroot

Patrick Stinson patrickkidd at gmail.com
Sat Jan 27 17:51:04 GMT 2018


Scott,

Actually I’m talking about building pyrcc5 itself so that I can generate the .py files. This would avoid having to check in the large binaries (e.g. images) that comprise the .py resources into source control.

Yes, the .py files themselves are cross-platform.

-Patrick

> On Jan 27, 2018, at 9:47 AM, Scott Harvey <bundito at gmail.com> wrote:
> 
> 
> On Sat, Jan 27, 2018 at 10:51 AM Patrick Stinson <patrickkidd at gmail.com <mailto:patrickkidd at gmail.com>> wrote:
> Is pyrcc5 supposed to be built for the host platform when building for iOS? I am getting the following error for my iOS sysroot but not my macOS sysroot:
> 
> /Users/patrick/dev/vendor/sysroot-ios-64/host/bin/python3.6: Error while finding module specification for 'PyQt5.pyrcc_main' (ModuleNotFoundError: No module named 'PyQt5')
> /Users/patrick/dev/vendor/sysroot-ios-64/host/bin/python3.6: Error while finding module specification for 'PyQt5.uic.pyuic' (ModuleNotFoundError: No module named 'PyQt5')
> 
> Building native pyrcc5 for an iOS sysroot would allow you to generate pyqt resource files when building for iOS. 
> 
> It’s more like “pyrcc5 has to build a file for the target system”. I don’t know if there’s a difference between pyrcc-compiled files between architectures. They’re ordinary Python files, after all. It’s entirely possible iOS demands some special treatment, however. That’s not an insult, just a statement. 
> 
> Good luck. 
> 
> 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180127/8dbce48b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1403 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180127/8dbce48b/attachment.bin>


More information about the PyQt mailing list