<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=""><div class="">Phil,</div><div class=""><br class=""></div>It looks like pyqtdeploy is linking to qmake in qt_dir to the host/bin folder in sysroot. but that does not preserve the PREFIX hardcoded in the qmake exe (see below). This causes the qmake error “Cannot find configuration file .” when qmake is executed from the link, causing the python component to fail building.<div class=""><br class=""></div><div class="">This version of Qt was configured with -prefix to the current source folder (/Users/patrick/dev/vendor/dev/build/qt).<br class=""><div class=""><div class=""><br class=""></div><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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">turin:vendor patrick$ ls -la sysroot-macos-64/host/bin/qmake</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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">lrwxr-xr-x 1 patrick staff 49 Jan 8 01:03 sysroot-macos-64/host/bin/qmake -> /Users/patrick/dev/vendor/dev/build/qt5/bin/qmake</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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">turin:vendor patrick$ sysroot-macos-64/host/bin/qmake --version</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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">QMake version 3.1</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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Using Qt version 5.11.0 in </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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">turin:vendor patrick$ /Users/patrick/dev/vendor/dev/build/qt5/bin/qmake --version</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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">QMake version 3.1</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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Using Qt version 5.11.0 in /Users/patrick/dev/vendor/dev/build/qt5/lib</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(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">turin:vendor patrick$ </span></div><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 7, 2018, at 8:35 AM, Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Ah Ok, that is encouraging as my method was (obviously) kind of a pain to maintain. I will rebuild my sysroots with v2 and report back.<br class=""><br class="">-Patrick<br class=""><br class=""><blockquote type="cite" class="">On Jan 7, 2018, at 3:30 AM, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" class="">phil@riverbankcomputing.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">On 6 Jan 2018, at 6:55 pm, Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>> wrote:<br class=""><br class="">OK that’s interesting. Then for example, what is the suggested way to linke the standard python C module “_socket” in the exe, and have it’s module init method PyInit__socket” called on startup? Selecting “socket” in the pyqtdeploy gui didn’t do all of that for me.<br class=""></blockquote><br class="">The demo (indirectly) uses _socket and that works fine.<br class=""><br class="">Do you have an example?<br class=""><br class="">Phil<br class=""></blockquote></div></div></blockquote></div><br class=""></div></div></div></body></html>