[PyQt] pyrcc5 on iOS sysroot

Scott Harvey bundito at gmail.com
Sat Jan 27 17:47:40 GMT 2018


On Sat, Jan 27, 2018 at 10:51 AM Patrick Stinson <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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180127/ed9be987/attachment.html>


More information about the PyQt mailing list