<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
Searching around turned up a comment on StackOverflow [1] that suggested setting an environment variable to point to the Qt platform plugins.<br>
<br>
QT_QPA_PLATFORM_PLUGIN_PATH=%QTDIR%\plugins\platforms\<br>
<br>
In my case I used these (cmd.exe, Cygwin):<br>
<br>
set QT_QPA_PLATFORM_PLUGIN_PATH="C:\Qt\Qt5.5.1\5.5\msvc2010\plugins\platforms"<br>
<br>
export QT_QPA_PLATFORM_PLUGIN_PATH="C:\Qt\Qt5.5.1\5.5\msvc2010\plugins\platforms"<br>
<br>
This fixed it for Cygwin and my application runs. In cmd.exe it still exits silently.<br>
<br>
Cheers,<br>
-kyle<br>
<br><br></blockquote><div><br></div><div>Qt has some default locations it searches for plugins and platform files. For my apps built with py2exe, i put the needed files in .\platforms (relative to my app's .exe)</div><div><br></div><div>Have you tried something like:</div><div><br></div><div>myapp.exe > out.txt 2>&1<br></div><div><br></div><div>from cmd?</div><div><br></div><div>(not sure what pyqtdeploy does with stdout/stderr, if anything)</div><div><br></div><div><br></div></div>m</div></div>