<div dir="ltr"><div>Hi,</div><div><br></div>I'm currently using py2exe 0.9.2 with python3 on windows and it works:<div>- deploy all dlls</div><div>- copy plugins (modify the setup.py script to do that)</div><div>- <span class="" style="white-space:pre;color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:17.8430118560791px">--bundle-files</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:17.8430118560791px"> 0<b> does not work</b></span></div>
<div><br></div><div>You should provide some other infos:</div><div>- version of python</div><div>- pyqt5 modules you use</div><div>- type of app: qml or qwidgets? If qml, I can't say a lot. I think that is actually unuseful qml with python</div>
<div>and it is a little bit difficult to work in a real world qml example with pyqt.</div><div>- py2exe configuration and script </div><div>- os: i.e. I can't actually use the binaries on some version of Xp</div><div>
<br></div><div>Best regards,</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">------------------------------------------------------<br> Gianluca Romanin (aka J_Zar)<br>------------------------------------------------------</div>
</div>
<br><br><div class="gmail_quote">On Sat, Aug 16, 2014 at 9:38 AM, Arve Knudsen <span dir="ltr"><<a href="mailto:arve.knudsen@gmail.com" target="_blank">arve.knudsen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><div style="font-family:Calibri,sans-serif;font-size:11pt">We're deploying PyQt5 on Windows with the help of cx_Freeze, which works really well in our experience. I think we have to copy QtSql plugin files though IIRC. Try it, it's easy.<br>

<br>Arve</div></div><div dir="ltr"><hr><span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Fra: </span><span style="font-family:Calibri,sans-serif;font-size:11pt"><a href="mailto:afief.h@gmail.com" target="_blank">Afief Halumi</a></span><br>

<span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Sendt: </span><span style="font-family:Calibri,sans-serif;font-size:11pt">‎16.‎08.‎2014 01:30</span><br><span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Til: </span><span style="font-family:Calibri,sans-serif;font-size:11pt"><a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a></span><br>

<span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Emne: </span><span style="font-family:Calibri,sans-serif;font-size:11pt">[PyQt] py2exe on windows</span><br><br></div></div><div class="HOEnZb">
<div class="h5"><div dir="ltr">
Hello,<div><br></div><div>After the good experience I had with pyqt5 on Linux I decided to give it a shot on Windows. I was able to build the application easily enough (using qtwidgets and qtsql), but I am having issues deploying it.</div>


<div><br></div><div>py2exe generated a folder with a lot of dll files, but it didn't include the necessary plugins, copying the contents of the plugins/ directory into the executable's directory seems to have helped (no longer getting a message that qt's windows plugin is missing) but now the application simply crashes as soon as it starts. The error message it displays is an uninformative "program.exe stopped working". I tried to run the executable from the commandline in the hopes of catching some output telling me what I did wrong, but nothing was displayed.</div>


<div><br></div><div>I know this is not a "learn to develop on windows" mailing list and apologize for asking this here, but the problem seems so pyqt related that I was hoping that I see nowhere else I can turn.</div>


<div><br></div><div>Thanks,</div><div>Afief</div></div>
</div></div><br>_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>