Hello,
I've got a bare bones demo program that I'm trying to package using
PyInstaller.
The directory layout looks like this:
|qttest/ ├── qttest │ └── __init__.py └── qttest.py |
The |qttest.py| file looks this:
|from qttest import main main() |
|qttest.__init__.py| looks like this:
|from PyQt5 import QtWidgets as qtw def main(): app =
qtw.QApplication([]) w = qtw.QPushButton('Hi There') w.show() app.exec() |
When I run the program using Python, it works fine, and shows a button
saying 'Hi There'.
When I run |pyinstaller qttest.py|, it seems to find all the
dependencies just fine and generates an executable; however, when I run
the resulting executable, nothing happens. No errors, and no button. The
program just exits immediately.
I've tried this on both Linux and Windows 10 using the version of
PyInstaller on PyPI. What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to pyinstaller+unsubscr...@googlegroups.com.
To post to this group, send email to pyinstaller@googlegroups.com.
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.