Closed prjemian closed 1 year ago
Took me a while to figure this one out: 4a3a140
Seems that the "header" file (named when promoting a widget in the designer) provides the indication for PyQt5 to locate the source code. I'm guessing it strips the .h
to find the Python module to be loaded with the supporting Python code. So, that "header" file name must include the Python package.module to find the Python code.
When testing on Windows, notice that Python files are sometimes autocreated from the .ui
files. Need to ignore them.
With these packaging changes, a starter is needed to run the application in debug mode. dev_starter.py
:
from gemviz import app as gemviz_app
gemviz_app.main()