I'm making an application in Python using PySide and Qt, and I need to open a webpage, so I used QtWebKit's QWebView.
On my development machine it works just fine, both running the code directly and running the output of py2exe. On a "clean" machine (no Python and no Qt installed), the output of py2exe doesn't show the webpage. The rest of the application works fine and there is no crash or exception, but the QWebView just stays blank.
I tried opening an URL without images or other stuff to prevent any problems related to missing WebKit plugins. I also tried a simple program that just opens example.com on a QWebView and nothing else, and it also didn't work.
Has anyone encountered anything similar? Also, anybody knows if QWebKit has any sort of "less documented " dependencies that py2exe might not be pulling into the "package"?
I would try PyInstaller. It seems to work well when compiling PyQT stuff, as it sniffs dependencies and packages them too (well, it seems to do that). I was making a QT application with Python too, and it spit out a single binary that worked right off the bat.
Here's a link: http://www.pyinstaller.org/
Good luck!