<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Scott,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Yes, the .py files themselves are cross-platform.</div><div class=""><br class=""></div><div class="">-Patrick<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 27, 2018, at 9:47 AM, Scott Harvey <<a href="mailto:bundito@gmail.com" class="">bundito@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><div class="gmail_quote"><div dir="auto" class="">On Sat, Jan 27, 2018 at 10:51 AM Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">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:<div class=""><br class=""></div><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgb(67,45,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/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')</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgb(67,45,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/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')</span></div></div><div class=""><br class=""></div><div class="">Building native pyrcc5 for an iOS sysroot would allow you to generate pyqt resource files when building for iOS. </div></div></blockquote><div dir="auto" class=""><br class=""></div><div dir="auto" class="">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. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Good luck. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""></div></div></blockquote></div></div>
_______________________________________________<br class="">PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" class="">PyQt@riverbankcomputing.com</a><br class=""><a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" class="">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></div></blockquote></div><br class=""></div></body></html>